Documentation ¶
Index ¶
Constants ¶
View Source
const (
Cookiename = "uid"
)
Variables ¶
View Source
var ValidCookies = make(map[string]string)
View Source
var ValidUsers = map[string]User{ "mike": { Salt: "kfljdsfkj", Privileges: []Privilege{SudoPriv, MatekingPriv, LogPriv, MatekingManagerPriv}, }, "friend": { Salt: "hello", Privileges: []Privilege{MatekingPriv}, }, "guest": {}, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.