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

Method ValidateAndSetConfig

plugin/compat/v1.go:88–93  ·  view source on GitHub ↗

ValidateAndSetConfig see papiv1.Configurer.

(config interface{})

Source from the content-addressed store, hash-verified

86
87// ValidateAndSetConfig see papiv1.Configurer.
88func (c *PluginV1Instance) ValidateAndSetConfig(config interface{}) error {
89 if c.configurer != nil {
90 return c.configurer.ValidateAndSetConfig(config)
91 }
92 return nil
93}
94
95// GetDisplay see papiv1.Displayer.
96func (c *PluginV1Instance) GetDisplay(location *url.URL) string {

Callers

nothing calls this directly

Calls 1

ValidateAndSetConfigMethod · 0.65

Tested by

no test coverage detected