ValidateAndSetConfig implements plugin.Configurer
(config interface{})
| 55 | |
| 56 | // ValidateAndSetConfig implements plugin.Configurer |
| 57 | func (c *EchoPlugin) ValidateAndSetConfig(config interface{}) error { |
| 58 | c.config = config.(*Config) |
| 59 | return nil |
| 60 | } |
| 61 | |
| 62 | // Enable enables the plugin. |
| 63 | func (c *EchoPlugin) Enable() error { |
nothing calls this directly
no outgoing calls
no test coverage detected