Versions in this module Expand all Collapse all v3 v3.1.0 Aug 26, 2026 Changes in this version + const StatusGreen + const StatusOrange + const StatusRed + var DefaultElevationDuration = time.Hour + type Application struct + CreatedAt time.Time + DefaultPriority int + Description string + ID uint + Image string + Internal bool + LastUsed *time.Time + Messages []MessageExternal + Name string + SortKey string + Token string + UserID uint + type Client struct + CreatedAt time.Time + ElevatedUntil *time.Time + ExpiresAfterInactivitySeconds uint + ExpiresAt *time.Time + ID uint + LastUsed *time.Time + Name string + Token string + UserID uint + func (c *Client) PopulateExpiresAt() + type CreateMessage struct + ApplicationID uint + Extras map[string]any + Message string + Priority *int + Title string + type CreateUserExternal struct + Admin bool + Name string + Pass string + type CurrentUserExternal struct + Admin bool + ClientID uint + CreatedAt time.Time + ElevatedUntil *time.Time + ID uint + Name string + type ElevateRequest struct + DurationSeconds int + type Error struct + Error string + ErrorCode int + ErrorDescription string + type GotifyInfo struct + LocalAuth bool + OIDCAutoRedirect bool + OIDCIDPName string + Oidc bool + Register bool + Version string + type Health struct + Database string + Health string + type Message struct + ApplicationID uint + Date time.Time + Extras []byte + ID uint + Message string + Priority int + Title string + type MessageExternal struct + ApplicationID uint + Date time.Time + Extras map[string]any + ID uint + Message string + Priority *int + Title string + type OIDCExternalAuthorizeRequest struct + CodeChallenge string + Name string + RedirectURI string + type OIDCExternalAuthorizeResponse struct + AuthorizeURL string + State string + type OIDCExternalTokenRequest struct + Code string + CodeVerifier string + State string + type OIDCExternalTokenResponse struct + Token string + User *UserExternal + type PagedMessages struct + Messages []*MessageExternal + Paging Paging + type Paging struct + Limit int + Next string + Since uint + Size int + type PluginConf struct + ApplicationID uint + Config []byte + CreatedAt time.Time + Enabled bool + ID uint + ModulePath string + Storage []byte + Token string + UserID uint + type PluginConfExternal struct + Author string + Capabilities []string + CreatedAt time.Time + Enabled bool + ID uint + License string + ModulePath string + Name string + Token string + Website string + type RegenerateTokenResponse struct + Token string + type SecurityUpdateAction struct + RegenerateToken bool + type SecurityUpdateActionResponse struct + RegenerateToken *RegenerateTokenResponse + type UpdateUserExternal struct + Admin bool + Name string + Pass string + type User struct + Admin bool + Applications []Application + Clients []Client + CreatedAt time.Time + ID uint + Name string + OIDCID *string + Pass []byte + Plugins []PluginConf + type UserExternal struct + Admin bool + CreatedAt time.Time + ID uint + Name string + type UserExternalPass struct + Pass string + type VersionInfo struct + BuildDate string + Commit string + Version string Other modules containing this package github.com/gotify/server github.com/gotify/server/v2