MCPcopy
hub / github.com/gotify/server / PluginV1Instance

Struct PluginV1Instance

plugin/compat/v1.go:70–77  ·  view source on GitHub ↗

PluginV1Instance is an adapter for plugin using v1 API.

Source from the content-addressed store, hash-verified

68
69// PluginV1Instance is an adapter for plugin using v1 API.
70type PluginV1Instance struct {
71 instance papiv1.Plugin
72 messenger papiv1.Messenger
73 configurer papiv1.Configurer
74 storager papiv1.Storager
75 webhooker papiv1.Webhooker
76 displayer papiv1.Displayer
77}
78
79// DefaultConfig see papiv1.Configurer.
80func (c *PluginV1Instance) DefaultConfig() interface{} {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected