SetMessageHandler implements plugin.Messenger.
(h plugin.MessageHandler)
| 48 | |
| 49 | // SetMessageHandler implements plugin.Messenger. |
| 50 | func (c *Plugin) SetMessageHandler(h plugin.MessageHandler) { |
| 51 | c.msgHandler = h |
| 52 | } |
| 53 | |
| 54 | // NewGotifyPluginInstance creates a plugin instance for a user context. |
| 55 | func NewGotifyPluginInstance(ctx plugin.UserContext) plugin.Plugin { |
nothing calls this directly
no outgoing calls
no test coverage detected