From a7784cd8d54ab16244e7f2f9c2a2361095b3c910 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 25 Oct 2020 18:23:23 +0300 Subject: - added service names --- plugins/factory/app.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/factory/app.go') 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 -- cgit v1.2.3