Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
AuthService provides authenticates users and handles JWT tokens
func (*AuthService) GenerateJWT ¶
func (a *AuthService) GenerateJWT() (string, error)
GenerateJWT generates a JWT token from user credentials
type ConfigService ¶
ConfigService loads and stores app configurations
func (*ConfigService) Reload ¶
func (s *ConfigService) Reload() error
Reload reads the config and applies changes
func (*ConfigService) Watch ¶
func (s *ConfigService) Watch(d time.Duration)
Watch reloads the config every d duration
Click to show internal directories.
Click to hide internal directories.