Documentation ¶
Index ¶
- Constants
- func Buckets() []db.Bucket
- func CreateUser(d db.DB, email, pwhash string) error
- func DeleteUser(d db.DB, email string) error
- func GetTimeout() time.Duration
- func LoginUser(d db.DB, email, pwhash string) (util.Key, error)
- func LogoutUser(d db.DB, email string, key util.Key) error
- func SetTimeout(t time.Duration)
- func Valid(d db.DB, email string, key util.Key) error
- type Login
- type User
Constants ¶
View Source
const ( SessionKeys db.Bucket = "auth-session-keys" Users db.Bucket = "auth-users" )
Variables ¶
This section is empty.
Functions ¶
func GetTimeout ¶
func SetTimeout ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.