diff options
Diffstat (limited to 'plugins/server/interface.go')
-rw-r--r-- | plugins/server/interface.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/server/interface.go b/plugins/server/interface.go index 9c1079ea..98345694 100644 --- a/plugins/server/interface.go +++ b/plugins/server/interface.go @@ -15,6 +15,6 @@ type Env map[string]string // Server creates workers for the application. type Server interface { CmdFactory(env Env) (func() *exec.Cmd, error) - NewWorker(ctx context.Context, env Env, listeners ...events.EventListener) (worker.BaseProcess, error) - NewWorkerPool(ctx context.Context, opt poolImpl.Config, env Env, listeners ...events.EventListener) (pool.Pool, error) + NewWorker(ctx context.Context, env Env, listeners ...events.Listener) (worker.BaseProcess, error) + NewWorkerPool(ctx context.Context, opt poolImpl.Config, env Env, listeners ...events.Listener) (pool.Pool, error) } |