diff options
author | Valery Piashchynski <[email protected]> | 2021-04-30 13:09:18 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-30 13:09:18 +0300 |
commit | d0dccb0c761df45da7fba00340f1cd5c66c71711 (patch) | |
tree | 8b1bc547a843dd9601faee26cf1c92876cfbb054 /plugins/rpc | |
parent | 50aa751dcefc0ab0e96594a5f111ead316a34a70 (diff) |
- Add Availabler interface implementaion for all plugins
- Add tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/rpc')
-rw-r--r-- | plugins/rpc/plugin.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/rpc/plugin.go b/plugins/rpc/plugin.go index b80994d3..f88aa6de 100644 --- a/plugins/rpc/plugin.go +++ b/plugins/rpc/plugin.go @@ -122,6 +122,11 @@ func (s *Plugin) Name() string { return PluginName } +// Available interface implementation +func (s *Plugin) Available() bool { + return true +} + // Collects all plugins which implement Name + RPCer interfaces func (s *Plugin) Collects() []interface{} { return []interface{}{ |