summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 19:31:06 +0300
committerWolfy-J <[email protected]>2019-05-04 19:31:06 +0300
commit2afa417f4f46b31b79043e3e56513d51e4ad2fde (patch)
treee3939afb104647e82bd8bbed85f75616c1faf0eb /server.go
parent2efc533f2aac215d487a80020b0f9bf4ae5209c3 (diff)
renamings
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()