Documentation ¶
Index ¶
Constants ¶
View Source
const ( ArgonTime = 1 ArgonMemory = 256 * 1024 ArgonThreads = 4 ArgonKeySize = 32 ArgonSaltSize = 16 ArgonMaxInstances = 16 UUIDSize = 16 TokenSize = 32 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericAuthResponse ¶
type GenericAuthResponse struct {
Token string `json:"token"`
}
type InfoResponse ¶
type LoginResponse ¶
type LoginResponse GenericAuthResponse
func Login ¶
func Login(username, password string) (LoginResponse, error)
/account/login - log into account
Click to show internal directories.
Click to hide internal directories.