diff options
| author | Paul Buetow <paul@buetow.org> | 2021-10-05 10:00:38 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-10-05 10:00:38 +0300 |
| commit | f70622f307629a2542ea5eb128dea8c1043d3a40 (patch) | |
| tree | 82455dac0c870b28aea8c96a426050dc215a8818 /internal/source | |
| parent | 599075bc6580ba77dc22ba1c1ec8aa908ef2462d (diff) | |
more on this
Diffstat (limited to 'internal/source')
| -rw-r--r-- | internal/source/source.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/internal/source/source.go b/internal/source/source.go index 73dccb2..be7aecd 100644 --- a/internal/source/source.go +++ b/internal/source/source.go @@ -3,8 +3,9 @@ package source type Source int const ( - Client Source = iota - Server Source = iota + Client Source = iota + Server Source = iota + HealthCheck Source = iota ) func (s Source) String() string { @@ -13,7 +14,9 @@ func (s Source) String() string { return "CLIENT" case Server: return "SERVER" + case HealthCheck: + return "HEALTHCHECK" } - panic("Unknown log source type") + panic("Unknown source type") } |
