summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 3f1f48fc..d1757207 100644
--- a/server.go
+++ b/server.go
@@ -63,7 +63,7 @@ func (s *Server) Listen(l func(event int, ctx interface{})) {
s.lsn = l
}
-// Watch attaches worker controller.
+// AddController attaches worker controller.
func (s *Server) Watch(c Controller) {
s.mu.Lock()
defer s.mu.Unlock()