Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddleware ¶
func NewMiddleware(log *log.Logger) muxhttp.Middleware
func PasswordMatch ¶
func PasswordMatch(pvi PasswordVeriferInterface) error
Types ¶
type PasswordVeriferInterface ¶
type PasswordVeriferInterface interface {
CompareHashAndPassword() error
}
type PasswordVerifier ¶
type PasswordVerifier struct {
// contains filtered or unexported fields
}
func (PasswordVerifier) CompareHashAndPassword ¶
func (pv PasswordVerifier) CompareHashAndPassword() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.