Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHashAndPassword ¶
CompareHashAndPassword matches hash with password. Returns true if hash and password match.
func HashPassword ¶
HashPassword hashes the password using bcrypt
Types ¶
type Service ¶
type Service struct{}
Service holds crypter methods
func (*Service) CompareHashAndPassword ¶
CompareHashAndPassword 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.