diff options
author | Wolfy-J <[email protected]> | 2020-10-25 18:23:23 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2020-10-25 18:23:23 +0300 |
commit | a7784cd8d54ab16244e7f2f9c2a2361095b3c910 (patch) | |
tree | 76ebe9053f653c2e549e214d26748ee0cddf0840 /plugins/rpc | |
parent | 96c11f2b1830833c7e190f2476334380cf8697ce (diff) |
- added service names
Diffstat (limited to 'plugins/rpc')
-rw-r--r-- | plugins/rpc/rpc.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/rpc/rpc.go b/plugins/rpc/rpc.go index ad19df17..8ffe62e0 100644 --- a/plugins/rpc/rpc.go +++ b/plugins/rpc/rpc.go @@ -47,6 +47,11 @@ func (s *Service) Init(cfg config.Provider) error { return s.config.Valid() } +// Name contains service name. +func (s *Service) Name() string { + return ServiceName +} + // Serve serves the service. func (s *Service) Serve() chan error { s.close = make(chan struct{}, 1) |