summaryrefslogtreecommitdiff
path: root/service/rpc
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 23:07:30 +0300
committerWolfy-J <[email protected]>2019-05-04 23:07:30 +0300
commit3800c27ff9ec2641248d6dc2ce2f7ab56c237664 (patch)
treec8026df76f0fea5519f958d310210e1da46f369d /service/rpc
parent2afa417f4f46b31b79043e3e56513d51e4ad2fde (diff)
golint
Diffstat (limited to 'service/rpc')
-rw-r--r--service/rpc/service.go4
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()