diff options
Diffstat (limited to 'plugins/logger/tests/plugin1.go')
-rw-r--r-- | plugins/logger/tests/plugin1.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/logger/tests/plugin1.go b/plugins/logger/tests/plugin1.go deleted file mode 100644 index c4ca1371..00000000 --- a/plugins/logger/tests/plugin1.go +++ /dev/null @@ -1,26 +0,0 @@ -package tests - -import ( - "github.com/spiral/roadrunner/v2/plugins/config" - "github.com/spiral/roadrunner/v2/plugins/logger" -) - -type Plugin1 struct { - config config.Configurer - log *logger.ZapLogger -} - -func (p1 *Plugin1) Init(cfg config.Configurer, log *logger.ZapLogger) error { - p1.config = cfg - p1.log = log - return nil -} - -func (p1 *Plugin1) Serve() chan error { - errCh := make(chan error, 1) - return errCh -} - -func (p1 *Plugin1) Stop() error { - return nil -} |