Versions in this module Expand all Collapse all v3 v3.1.0 Aug 26, 2026 Changes in this version + const ModulePath + const Name + func ReturnErrorOnDisableForUser(uid uint, err error) + func ReturnErrorOnEnableForUser(uid uint, err error) + type Plugin struct + Instances []PluginInstance + func (c *Plugin) APIVersion() string + func (c *Plugin) NewPluginInstance(ctx compat.UserContext) compat.PluginInstance + func (c *Plugin) PluginInfo() compat.Info + type PluginConfig struct + IsNotValid bool + TestKey string + type PluginInstance struct + BasePath string + Config *PluginConfig + DisplayString string + Enabled bool + UserCtx compat.UserContext + func (c *PluginInstance) DefaultConfig() any + func (c *PluginInstance) Disable() error + func (c *PluginInstance) Enable() error + func (c *PluginInstance) GetDisplay(url *url.URL) string + func (c *PluginInstance) GetStorage() ([]byte, error) + func (c *PluginInstance) RegisterWebhook(basePath string, mux *gin.RouterGroup) + func (c *PluginInstance) SetCapability(p compat.Capability, enable bool) + func (c *PluginInstance) SetMessageHandler(h compat.MessageHandler) + func (c *PluginInstance) SetStorage(b []byte) error + func (c *PluginInstance) SetStorageHandler(handler compat.StorageHandler) + func (c *PluginInstance) Supports() compat.Capabilities + func (c *PluginInstance) TriggerMessage() + func (c *PluginInstance) ValidateAndSetConfig(config any) error Other modules containing this package github.com/gotify/server/v2