Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPassword ¶ added in v0.8.80
type IPassword interface { VerifyPassword(password string, hash string) bool HashPassword(password string) (string, error) }
func NewSimpleManager ¶ added in v1.2.80
type NewPasswordManagerFunc ¶ added in v1.2.80
type SimpleManager ¶ added in v1.2.80
type SimpleManager struct { }
func (*SimpleManager) HashPassword ¶ added in v1.2.80
func (p *SimpleManager) HashPassword(password string) (string, error)
func (*SimpleManager) VerifyPassword ¶ added in v1.2.80
func (p *SimpleManager) VerifyPassword(password string, hash string) bool
Click to show internal directories.
Click to hide internal directories.