summaryrefslogtreecommitdiff
path: root/interfaces/server/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-21 19:42:23 +0300
committerValery Piashchynski <[email protected]>2020-12-21 19:42:23 +0300
commitee8b4075c0f836d698d1ae505c87c17147de447a (patch)
tree531d980e5bfb94ee39b03952a97e0445f7955409 /interfaces/server/interface.go
parent0ad45031047bb479e06ce0a0f496c6db9b2641c9 (diff)
Move plugins to the roadrunner-plugins repository
Diffstat (limited to 'interfaces/server/interface.go')
-rw-r--r--interfaces/server/interface.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/interfaces/server/interface.go b/interfaces/server/interface.go
deleted file mode 100644
index c50848d7..00000000
--- a/interfaces/server/interface.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package server
-
-import (
- "context"
- "os/exec"
-
- "github.com/spiral/roadrunner/v2/interfaces/pool"
- "github.com/spiral/roadrunner/v2/interfaces/worker"
- poolImpl "github.com/spiral/roadrunner/v2/pkg/pool"
-)
-
-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) (worker.BaseProcess, error)
- NewWorkerPool(ctx context.Context, opt poolImpl.Config, env Env) (pool.Pool, error)
-}