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

Method SetMessageHandler

plugin/example/echo/echo.go:35–37  ·  view source on GitHub ↗

SetMessageHandler implements plugin.Messenger.

(h plugin.MessageHandler)

Source from the content-addressed store, hash-verified

33
34// SetMessageHandler implements plugin.Messenger.
35func (c *EchoPlugin) SetMessageHandler(h plugin.MessageHandler) {
36 c.msgHandler = h
37}
38
39// Storage defines the plugin storage scheme
40type Storage struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected