Documentation
¶
Index ¶
- Variables
- func BrancaKey() []byte
- func DecodeToken(token string, ttlHours uint32, data any) (rawPayload []byte, e error)
- func EncodeToken(payload any, ttlHours uint32) (string, int64, error)
- func Init() error
- func Login(username, password string) error
- func Logout() error
- func Password() string
- func Username() string
Constants ¶
This section is empty.
Variables ¶
View Source
var Timer *time.Timer
Functions ¶
func DecodeToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.