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

Method DefaultConfig

plugin/example/echo/echo.go:50–54  ·  view source on GitHub ↗

DefaultConfig implements plugin.Configurer

()

Source from the content-addressed store, hash-verified

48
49// DefaultConfig implements plugin.Configurer
50func (c *EchoPlugin) DefaultConfig() interface{} {
51 return &Config{
52 MagicString: "hello world",
53 }
54}
55
56// ValidateAndSetConfig implements plugin.Configurer
57func (c *EchoPlugin) ValidateAndSetConfig(config interface{}) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected