diff options
author | Valery Piashchynski <[email protected]> | 2020-11-18 10:37:44 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-18 10:37:44 +0300 |
commit | be18313f6bf8f903f2d2ba3ca812ad8546c329f6 (patch) | |
tree | 0a6d7382a526a59a034f85d60b3f2b24e103ffcd /plugins/server | |
parent | 6236aac37bd1661b20400689f66d1e92283c5111 (diff) |
Informer plugin ready
Diffstat (limited to 'plugins/server')
-rw-r--r-- | plugins/server/tests/plugin_pipes.go | 6 | ||||
-rw-r--r-- | plugins/server/tests/plugin_sockets.go | 4 | ||||
-rw-r--r-- | plugins/server/tests/plugin_tcp.go | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/server/tests/plugin_pipes.go b/plugins/server/tests/plugin_pipes.go index 840021eb..fbd37e12 100644 --- a/plugins/server/tests/plugin_pipes.go +++ b/plugins/server/tests/plugin_pipes.go @@ -11,7 +11,7 @@ import ( plugin "github.com/spiral/roadrunner/v2/plugins/server" ) -const ConfigSection = "app" +const ConfigSection = "server" const Response = "test" var testPoolConfig = roadrunner.PoolConfig{ @@ -30,11 +30,11 @@ var testPoolConfig = roadrunner.PoolConfig{ type Foo struct { configProvider config.Configurer - wf server.WorkerFactory + wf server.Server pool roadrunner.Pool } -func (f *Foo) Init(p config.Configurer, workerFactory server.WorkerFactory) error { +func (f *Foo) Init(p config.Configurer, workerFactory server.Server) error { f.configProvider = p f.wf = workerFactory return nil diff --git a/plugins/server/tests/plugin_sockets.go b/plugins/server/tests/plugin_sockets.go index b12f4ead..4942d4c5 100644 --- a/plugins/server/tests/plugin_sockets.go +++ b/plugins/server/tests/plugin_sockets.go @@ -12,11 +12,11 @@ import ( type Foo2 struct { configProvider config.Configurer - wf server.WorkerFactory + wf server.Server pool roadrunner.Pool } -func (f *Foo2) Init(p config.Configurer, workerFactory server.WorkerFactory) error { +func (f *Foo2) Init(p config.Configurer, workerFactory server.Server) error { f.configProvider = p f.wf = workerFactory return nil diff --git a/plugins/server/tests/plugin_tcp.go b/plugins/server/tests/plugin_tcp.go index 39044577..89757a02 100644 --- a/plugins/server/tests/plugin_tcp.go +++ b/plugins/server/tests/plugin_tcp.go @@ -12,11 +12,11 @@ import ( type Foo3 struct { configProvider config.Configurer - wf server.WorkerFactory + wf server.Server pool roadrunner.Pool } -func (f *Foo3) Init(p config.Configurer, workerFactory server.WorkerFactory) error { +func (f *Foo3) Init(p config.Configurer, workerFactory server.Server) error { f.configProvider = p f.wf = workerFactory return nil |