summaryrefslogtreecommitdiff
path: root/plugins/rpc/rpc.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rpc/rpc.go')
-rw-r--r--plugins/rpc/rpc.go5
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)