Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnWrapConfig ¶
func UnWrapConfig()
Types ¶
type Key ¶
type Key struct { // API key, in argon2id format. Key string `json:"api_key" yaml:"apiKey" toml:"apikey"` // Unixnano expiration for this credential. Expiration int64 `json:"expire" yaml:"expire" toml:"expire"` // Effective priviledge level of this credential. PrivLevel int `json:"privilege" yaml:"privilege" toml:"privilege"` }
type User ¶
type User struct { // Username for this user Username string `json:"user" yaml:"user" toml:"user"` // Password for this user, (in argon2 hashed format) PassKey string `json:"pass_key" yaml:"passKey" toml:"passkey"` // Unixnano expiration for this credential. Expiration int64 `json:"expire" yaml:"expire" toml:"expire"` // Effective priviledge level of this credential. PrivLevel int `json:"privilege" yaml:"privilege" toml:"privilege"` }
Click to show internal directories.
Click to hide internal directories.