Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PasswordForTest string
Functions ¶
func AskPassword ¶
Types ¶
type Login ¶
type Login struct { Login string `json:"id"` // unique id Email string `json:"email"` Passwordhash string //md5hex("%s:%s:%s", username,realm,password) Disabled bool `json:"disabled"` // contains filtered or unexported fields }
Login represents a user
type Logins ¶
type Logins struct { Version string `json:"version"` Logins []Login `json:"logins"` // goes to disk // contains filtered or unexported fields }
var Store Logins // type Logins uses interface 'manager'
func ReadLoginsJSON ¶
ReadLoginsJSON from file. Remember to call sortLogins after this.
Click to show internal directories.
Click to hide internal directories.