Versions in this module Expand all Collapse all v1 v1.118.0 Aug 1, 2026 Changes in this version + type HistoryAPI struct + Retention time.Duration + Store notification.HistoryStore + UserEmail func(*http.Request) string + func (a *HistoryAPI) Register(mux *http.ServeMux) + type HistoryItem struct + Actor string + Category string + CreatedAt time.Time + Digest bool + ID int64 + ItemTitle string + Link string + SentAt *time.Time + Status string + Subject string + type HistoryResponse struct + Data []HistoryItem + Page int + PerPage int + RetentionDays int + Total int + type PrefsAPI struct + Settings smtp.SettingsStore + Store notification.PrefsStore + UserEmail func(*http.Request) string + func (a *PrefsAPI) Register(mux *http.ServeMux) + type PrefsRequest struct + CommentsEnabled *bool + MentionsEnabled *bool + Mode *string + SharesEnabled *bool + type PrefsResponse struct + CommentsEnabled bool + DeliveryAvailable bool + MentionsEnabled bool + Mode string + SharesEnabled bool