Versions in this module Expand all Collapse all v0 v0.2.0 Nov 11, 2021 Changes in this version + var ErrHashDoesntMatch = errors.New("hashed password is not hash of the given password") + var ErrNotFound = errors.New("could not find entry for given user") + type PostgresVerifier struct + func NewPostgresVerifier(opt *pg.Options) *PostgresVerifier + func (p *PostgresVerifier) Verify(user string, pw string) (bool, error) + type SimpleVerifier struct + func (s *SimpleVerifier) Verify(_ string, _ string) (bool, error) + type Verifier interface + Verify func(user string, pw string) (bool, error)