Versions in this module Expand all Collapse all v3 v3.1.0 Aug 26, 2026 Changes in this version + type API struct + func New(pingPeriod, pongTimeout time.Duration, allowedWebSocketOrigins []string) *API + func (a *API) Close() + func (a *API) CollectConnectedClientTokens() []string + func (a *API) Handle(ctx *gin.Context) + func (a *API) Notify(userID uint, msg *model.MessageExternal) + func (a *API) NotifyDeletedClient(userID uint, token string) + func (a *API) NotifyDeletedUser(userID uint) error Other modules containing this package github.com/gotify/server github.com/gotify/server/v2