MCPcopy Create free account
hub / github.com/gotify/server / SetMessageHandler

Method SetMessageHandler

plugin/example/clock/main.go:50–52  ·  view source on GitHub ↗

SetMessageHandler implements plugin.Messenger.

(h plugin.MessageHandler)

Source from the content-addressed store, hash-verified

48
49// SetMessageHandler implements plugin.Messenger.
50func (c *Plugin) SetMessageHandler(h plugin.MessageHandler) {
51 c.msgHandler = h
52}
53
54// NewGotifyPluginInstance creates a plugin instance for a user context.
55func NewGotifyPluginInstance(ctx plugin.UserContext) plugin.Plugin {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected