Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDatabase ¶
func CheckDatabase() error
Types ¶
type Database ¶
type Database map[Username]DatabaseRecord
func LoadDatabase ¶
func LoadDefaultDatabase ¶
type DatabaseRecord ¶
type LoginRequest ¶
type LoginRequest struct { Username Username `yaml:"username"` Password string `yaml:"password"` TotpNonce string `yaml:"totp-nonce"` }
func ParseLoginRequest ¶
func ParseLoginRequest(filename string) (*LoginRequest, error)
Click to show internal directories.
Click to hide internal directories.