diff options
Diffstat (limited to 'interfaces/server')
-rw-r--r-- | interfaces/server/interface.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interfaces/server/interface.go b/interfaces/server/interface.go index 51d172cb..2dae30c5 100644 --- a/interfaces/server/interface.go +++ b/interfaces/server/interface.go @@ -9,8 +9,8 @@ import ( type Env map[string]string -// WorkerFactory creates workers for the application. -type WorkerFactory interface { +// Server creates workers for the application. +type Server interface { CmdFactory(env Env) (func() *exec.Cmd, error) NewWorker(ctx context.Context, env Env) (roadrunner.WorkerBase, error) NewWorkerPool(ctx context.Context, opt roadrunner.PoolConfig, env Env) (roadrunner.Pool, error) |