Versions in this module Expand all Collapse all v1 v1.0.0 Jan 22, 2026 Changes in this version + func MustUser(c fiber.Ctx) auth.ContextUser + type APIError struct + Message string + type AdminCreateUserRequest struct + Password string + Username string + type AdminResetPasswordRequest struct + NewPassword string + type AdminTokenItem struct + ExpiresAt *time.Time + IdleTimeoutSeconds int + IssuedAt time.Time + JTI string + LastSeenAt *time.Time + Name string + RevokedAt *time.Time + RevokedBy *uint + Type models.TokenType + UserID uint + Username string + type AdminUserItem struct + CreatedAt time.Time + ID uint + IsRoot bool + UpdatedAt time.Time + Username string + type AuditLogItem struct + Action string + CreatedAt time.Time + Detail string + ID uint + IP string + Method string + Path string + Resource string + UserAgent string + UserID uint + Username string + type AuditLogPage struct + Items []AuditLogItem + Page int + Size int + Total int64 + type ChangePasswordRequest struct + NewPassword string + OldPassword string + type CreateAPITokenRequest struct + Name string + Password string + Username string + type CreateAPITokenResponse struct + JTI string + Name string + Token string + Type string + type CreateMyTokenRequest struct + Name string + type CreatePointRequest struct + Model string + Point []models.DeveltypePointBase + TypeKey string + type CreateSettingRequest struct + Name string + Value json.RawMessage + ValueType string + type LoginWebRequest struct + Password string + Username string + type LoginWebResponse struct + IdleTimeoutSeconds int + JTI string + Token string + Type string + type Server struct + Cfg *config.Config + DB *gorm.DB + MQTT *mqtt.Server + Mgr *core.InstanceManager + func (h *Server) CreatePoint(c fiber.Ctx) error + func (h *Server) CreateSetting(c fiber.Ctx) error + func (h *Server) DeleteSettingByID(c fiber.Ctx) error + func (h *Server) GetSettingByID(c fiber.Ctx) error + func (h *Server) GetSettingByName(c fiber.Ctx) error + func (h *Server) ListSettings(c fiber.Ctx) error + func (h *Server) UpdateSettingByID(c fiber.Ctx) error + func (h *Server) UpsertSettingValueByName(c fiber.Ctx) error + func (s *Server) AdminCreateUser(c fiber.Ctx) error + func (s *Server) AdminDeleteUser(c fiber.Ctx) error + func (s *Server) AdminKickSession(c fiber.Ctx) error + func (s *Server) AdminListAuditLogs(c fiber.Ctx) error + func (s *Server) AdminListSessions(c fiber.Ctx) error + func (s *Server) AdminListTokens(c fiber.Ctx) error + func (s *Server) AdminListUsers(c fiber.Ctx) error + func (s *Server) AdminResetUserPassword(c fiber.Ctx) error + func (s *Server) AdminRevokeToken(c fiber.Ctx) error + func (s *Server) ChangeMyPassword(c fiber.Ctx) error + func (s *Server) CreateAPITokenByPassword(c fiber.Ctx) error + func (s *Server) CreateMyAPIToken(c fiber.Ctx) error + func (s *Server) KickMySession(c fiber.Ctx) error + func (s *Server) ListMyAuditLogs(c fiber.Ctx) error + func (s *Server) ListMySessions(c fiber.Ctx) error + func (s *Server) ListMyTokens(c fiber.Ctx) error + func (s *Server) ListOnlineChanel(c fiber.Ctx) error + func (s *Server) LoginWeb(c fiber.Ctx) error + func (s *Server) Logout(c fiber.Ctx) error + func (s *Server) MaintenanceOverview(c fiber.Ctx) error + func (s *Server) RevokeMyAllTokens(c fiber.Ctx) error + func (s *Server) RevokeMyTokenByJTI(c fiber.Ctx) error + func (s *Server) Route(app *fiber.App) *fiber.App + func (s *Server) ShowMe(c fiber.Ctx) error + func (s *Server) StartAuditRetentionJob(stop <-chan struct{}) + func (s *Server) Version(c fiber.Ctx) error + type SessionItem struct + IdleTimeoutSeconds int + IssuedAt time.Time + JTI string + LastSeenAt *time.Time + RevokedAt *time.Time + UserID uint + Username string + type TokenInfo struct + ExpiresAt *time.Time + IdleTimeoutSeconds int + IssuedAt time.Time + JTI string + LastSeenAt *time.Time + Name string + RevokedAt *time.Time + Type models.TokenType + type UpdateSettingRequest struct + Value json.RawMessage + ValueType *string + type UpsertSettingByNameRequest struct + Value json.RawMessage + ValueType string