Documentation ¶
Overview ¶
Package password 密码类型的验证器
Index ¶
- func Install(mod string, db *orm.DB)
- type Password
- func (p *Password) Add(tx *orm.Tx, uid int64, identity, pass string) error
- func (p *Password) Change(tx *orm.Tx, uid int64, old, pass string) error
- func (p *Password) Delete(tx *orm.Tx, uid int64) error
- func (p *Password) Identity(uid int64) (string, bool)
- func (p *Password) Set(tx *orm.Tx, uid int64, pass string) error
- func (p *Password) Valid(identity, pass string) (int64, string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.