Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service holds security related methods.
func (Service) HashMatchesPassword ¶
HashMatchesPassword matches hash with password. Returns true if hash and password match.
func (Service) HashPassword ¶
HashPassword hashes the password using bcrypt.
Click to show internal directories.
Click to hide internal directories.