Versions in this module Expand all Collapse all v1 v1.0.2 Jan 7, 2025 Changes in this version + var Info embed.FS + type Notification struct + Config *NotificationConfig + UserConfigCache *UserConfigCache + func (n *Notification) ConfigFields() []plugin.ConfigField + func (n *Notification) ConfigReceiver(config []byte) error + func (n *Notification) GetNewQuestionSubscribers() (userIDs []string) + func (n *Notification) Info() plugin.Info + func (n *Notification) Notify(msg plugin.NotificationMessage) + func (n *Notification) UserConfigFields() []plugin.ConfigField + func (n *Notification) UserConfigReceiver(userID string, config []byte) error + type NotificationConfig struct + Notification bool + type UserConfig struct + AllNewQuestions bool + InboxNotifications bool + NewQuestionsForFollowingTags bool + WebhookURL string + type UserConfigCache struct + func NewUserConfigCache() *UserConfigCache + func (ucc *UserConfigCache) SetUserConfig(userID string, config *UserConfig) + type WebhookReq struct + Markdown struct{ ... } + MsgType string + func NewWebhookReq(content string, title string) *WebhookReq