summaryrefslogtreecommitdiff
path: root/interfaces/app/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-17 16:25:35 +0300
committerValery Piashchynski <[email protected]>2020-11-17 16:25:35 +0300
commit3cbdd3d3e44b3b4e72565d666391e3b732950774 (patch)
tree7c60fafe1c33076631e39fe26be187c9ca359a3e /interfaces/app/interface.go
parenta57d064407e2ed7f35dd591101b5d421c64605e1 (diff)
Get http working with new container
Diffstat (limited to 'interfaces/app/interface.go')
-rw-r--r--interfaces/app/interface.go15
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)
-}