Versions in this module Expand all Collapse all v0 v0.1.40 Jun 15, 2026 Changes in this version type AuthStore + func (s *AuthStore) CountTokens() (int, error) + func (s *AuthStore) DeleteToken(id int64) error + func (s *AuthStore) ListTokens() ([]TokenInfo, error) + type TokenInfo struct + CreatedAt string + ID int64 + TokenPrefix string v0.1.39 Jun 14, 2026 Changes in this version + type AuthStore struct + func NewAuthStore(db *sqlx.DB) *AuthStore + func (s *AuthStore) CreateToken() (string, error) + func (s *AuthStore) GetOrCreateToken() (string, error) + func (s *AuthStore) ValidateToken(token string) (bool, error)