Documentation ¶
Overview ¶
Package verify is for verifying the credentials of a user are valid.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("could not find entry for given user") ErrHashDoesntMatch = errors.New("hashed password is not hash of the given password") )
Functions ¶
This section is empty.
Types ¶
type PostgresVerifier ¶
type PostgresVerifier struct {
// contains filtered or unexported fields
}
func NewPostgresVerifier ¶
func NewPostgresVerifier(opt *pg.Options) *PostgresVerifier
type SimpleVerifier ¶
type SimpleVerifier struct { }
Click to show internal directories.
Click to hide internal directories.