summaryrefslogtreecommitdiff
path: root/internal/server/handlers/controlhandler.go
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/server/handlers/controlhandler.go
parentc74bfb883c35b15883e4cb1356e8a52282b96971 (diff)
make lint and vet happy
Diffstat (limited to 'internal/server/handlers/controlhandler.go')
-rw-r--r--internal/server/handlers/controlhandler.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/server/handlers/controlhandler.go b/internal/server/handlers/controlhandler.go
index 9a8eb75..8cc5a40 100644
--- a/internal/server/handlers/controlhandler.go
+++ b/internal/server/handlers/controlhandler.go
@@ -41,10 +41,12 @@ func NewControlHandler(user *user.User) *ControlHandler {
return &h
}
+// Shutdown the handler.
func (h *ControlHandler) Shutdown() {
h.done.Shutdown()
}
+// Done channel of the handler.
func (h *ControlHandler) Done() <-chan struct{} {
return h.done.Done()
}