summaryrefslogtreecommitdiff
path: root/plugins/factory
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-20 16:46:48 +0300
committerValery Piashchynski <[email protected]>2020-10-20 16:46:48 +0300
commit8a384c16e8748da47c5c78e661893dc1364adf5e (patch)
treeb565772300a1039c6bfb77621ca88656a17a8a08 /plugins/factory
parent3d03711a143ca98aeb87d8b045b8406a4210d7bd (diff)
Remove all graceful interface impl
Diffstat (limited to 'plugins/factory')
-rw-r--r--plugins/factory/app.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/factory/app.go b/plugins/factory/app.go
index 48f286e7..4106b96f 100644
--- a/plugins/factory/app.go
+++ b/plugins/factory/app.go
@@ -40,10 +40,6 @@ func (app *App) Init(provider config.Provider) error {
app.cfg = AppConfig{}
app.configProvider = provider
- return nil
-}
-
-func (app *App) Configure() error {
err := app.configProvider.UnmarshalKey("app", &app.cfg)
if err != nil {
return err
@@ -56,10 +52,6 @@ func (app *App) Configure() error {
return nil
}
-func (app *App) Close() error {
- return nil
-}
-
func (app *App) NewCmd(env Env) (func() *exec.Cmd, error) {
var cmdArgs []string
// create command according to the config