summaryrefslogtreecommitdiff
path: root/internal/clients
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-12-08 14:32:29 +0000
committerPaul Buetow <pbuetow@mimecast.com>2020-12-08 14:32:29 +0000
commit602fb36da6c734a2d64bf4be13719c7349d5fe73 (patch)
tree71dd7f67e9fc1ae3b5a55433425120b57a53e73c /internal/clients
parentc74bfb883c35b15883e4cb1356e8a52282b96971 (diff)
make lint and vet happy
Diffstat (limited to 'internal/clients')
-rw-r--r--internal/clients/handlers/healthhandler.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/clients/handlers/healthhandler.go b/internal/clients/handlers/healthhandler.go
index 95693ab..08ed137 100644
--- a/internal/clients/handlers/healthhandler.go
+++ b/internal/clients/handlers/healthhandler.go
@@ -45,10 +45,12 @@ func (h *HealthHandler) Status() int {
return h.status
}
+// Done returns done channel of the handler.
func (h *HealthHandler) Done() <-chan struct{} {
return h.done.Done()
}
+// Shutdown the handler.
func (h *HealthHandler) Shutdown() {
h.done.Shutdown()
}