Disable implements plugin.Plugin
()
| 39 | |
| 40 | // Disable implements plugin.Plugin |
| 41 | func (c *Plugin) Disable() error { |
| 42 | if c.cronHandler != nil { |
| 43 | c.cronHandler.Stop() |
| 44 | } |
| 45 | c.enabled = false |
| 46 | return nil |
| 47 | } |
| 48 | |
| 49 | // SetMessageHandler implements plugin.Messenger. |
| 50 | func (c *Plugin) SetMessageHandler(h plugin.MessageHandler) { |
nothing calls this directly
no outgoing calls
no test coverage detected