Documentation ¶
Index ¶
- Constants
- func Buckets() []db.Bucket
- func CheckUser(d db.DB, email, pwhash string) error
- func ClearLogin(d db.DB, email string) error
- func Create(d db.DB, email, pwhash string) error
- func Delete(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 ValidLogin(d db.DB, email string, key util.Key) error
- type Login
- type User
Constants ¶
View Source
const (
LoginKeys db.Bucket = "user-login-keys"
)
View Source
const (
Users db.Bucket = "user-users"
)
Variables ¶
This section is empty.
Functions ¶
func GetTimeout ¶
func SetTimeout ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.