diff options
author | Wolfy-J <[email protected]> | 2018-06-07 17:32:13 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-07 17:32:13 +0300 |
commit | 1871706eee3aa9e6b534372fbf2817e317f25a92 (patch) | |
tree | b57380f49ef83785a621e6232e84b599d26d1bae /rpc | |
parent | e2ccf9717ca11bbcf8e9b8ee5332e3211d38cfa9 (diff) |
serving
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/service.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/service.go b/rpc/service.go index b461bdc2..2dfb04b0 100644 --- a/rpc/service.go +++ b/rpc/service.go @@ -63,9 +63,9 @@ func (s *Service) Serve() error { } // Close stop Service Service. -func (s *Service) Stop() error { +func (s *Service) Stop() { + //todo: is started? close(s.stop) - return nil } // Register publishes in the server the set of methods of the |