diff options
author | Valery Piashchynski <[email protected]> | 2021-04-18 01:35:03 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-18 01:35:03 +0300 |
commit | 15b7a9a0fc074531f9b46bb87fb35819e248a58c (patch) | |
tree | 65dae1958fe70b93c772665c286d3d6c9749c0db /plugins | |
parent | f125057f4937731c8f5adf641f7544a62690b523 (diff) |
- Initia service plugin commit
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/service/interface.go | 1 | ||||
-rw-r--r-- | plugins/service/plugin.go | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/plugins/service/interface.go b/plugins/service/interface.go new file mode 100644 index 00000000..6d43c336 --- /dev/null +++ b/plugins/service/interface.go @@ -0,0 +1 @@ +package service diff --git a/plugins/service/plugin.go b/plugins/service/plugin.go new file mode 100644 index 00000000..858408e2 --- /dev/null +++ b/plugins/service/plugin.go @@ -0,0 +1,13 @@ +package service + +import ( + "github.com/spiral/roadrunner/v2/plugins/config" + "github.com/spiral/roadrunner/v2/plugins/logger" +) + +type Plugin struct { +} + +func (p *Plugin) Init(cfg config.Configurer, log logger.Logger) error { + return nil +} |