Versions in this module Expand all Collapse all v0 v0.1.0 Jun 5, 2020 Changes in this version + func AuthenticateUser(username, password string) ([]byte, error) + func InitializeSigning() + type AuthenticationError struct + func (e *AuthenticationError) Error() string + type InvalidTokenError struct + func (e *InvalidTokenError) Error() string + type JWTCreationError struct + func (e *JWTCreationError) Error() string + type UserInfo struct + IsAdmin bool + Username string + func ParseToken(token []byte) (UserInfo, error)