MCPcopy Index your code
hub / github.com/gotify/server / DefaultConfig

Method DefaultConfig

plugin/compat/v1.go:80–85  ·  view source on GitHub ↗

DefaultConfig see papiv1.Configurer.

()

Source from the content-addressed store, hash-verified

78
79// DefaultConfig see papiv1.Configurer.
80func (c *PluginV1Instance) DefaultConfig() interface{} {
81 if c.configurer != nil {
82 return c.configurer.DefaultConfig()
83 }
84 return struct{}{}
85}
86
87// ValidateAndSetConfig see papiv1.Configurer.
88func (c *PluginV1Instance) ValidateAndSetConfig(config interface{}) error {

Callers

nothing calls this directly

Calls 1

DefaultConfigMethod · 0.65

Tested by

no test coverage detected