summaryrefslogtreecommitdiff
path: root/plugins/factory
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2020-10-25 18:23:23 +0300
committerWolfy-J <[email protected]>2020-10-25 18:23:23 +0300
commita7784cd8d54ab16244e7f2f9c2a2361095b3c910 (patch)
tree76ebe9053f653c2e549e214d26748ee0cddf0840 /plugins/factory
parent96c11f2b1830833c7e190f2476334380cf8697ce (diff)
- added service names
Diffstat (limited to 'plugins/factory')
-rw-r--r--plugins/factory/app.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/factory/app.go b/plugins/factory/app.go
index b6cdb3b3..62da4f53 100644
--- a/plugins/factory/app.go
+++ b/plugins/factory/app.go
@@ -42,6 +42,11 @@ func (app *App) Init(cfg config.Provider) error {
return nil
}
+// Name contains service name.
+func (app *App) Name() string {
+ return ServiceName
+}
+
func (app *App) Serve() chan error {
errCh := make(chan error, 1)
var err error