diff options
Diffstat (limited to 'service/rpc/service.go')
-rw-r--r-- | service/rpc/service.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/rpc/service.go b/service/rpc/service.go index ea262615..eba74c2d 100644 --- a/service/rpc/service.go +++ b/service/rpc/service.go @@ -12,7 +12,7 @@ import ( // ID contains default service name. const ID = "rpc" -// Services is RPC service. +// Service is RPC service. type Service struct { cfg *Config stop chan interface{} @@ -83,7 +83,7 @@ func (s *Service) Serve() error { return nil } -// Detach stops the service. +// Stop stops the service. func (s *Service) Stop() { s.mu.Lock() defer s.mu.Unlock() |