diff options
author | Valery Piashchynski <[email protected]> | 2020-11-17 16:25:35 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-17 16:25:35 +0300 |
commit | 3cbdd3d3e44b3b4e72565d666391e3b732950774 (patch) | |
tree | 7c60fafe1c33076631e39fe26be187c9ca359a3e /interfaces/app/interface.go | |
parent | a57d064407e2ed7f35dd591101b5d421c64605e1 (diff) |
Get http working with new container
Diffstat (limited to 'interfaces/app/interface.go')
-rw-r--r-- | interfaces/app/interface.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/interfaces/app/interface.go b/interfaces/app/interface.go deleted file mode 100644 index 4db7a094..00000000 --- a/interfaces/app/interface.go +++ /dev/null @@ -1,15 +0,0 @@ -package app - -import ( - "context" - "os/exec" - - "github.com/spiral/roadrunner/v2" -) - -// WorkerFactory creates workers for the application. -type WorkerFactory interface { - CmdFactory(env map[string]string) (func() *exec.Cmd, error) - NewWorker(ctx context.Context, env map[string]string) (roadrunner.WorkerBase, error) - NewWorkerPool(ctx context.Context, opt roadrunner.PoolConfig, env map[string]string) (roadrunner.Pool, error) -} |