Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
CheckPasswordHash compares a given password with one from the database Wraps the bcrypt.CompareHashAndPassword func to avoid code duplication and cleaner code
func FromPassword ¶
FromPassword hashes the user's password before routed to other services (user-service) Only wraps the bcrypt.GenerateFromPassword func avoiding code duplication and a central point to change the cost of the hashing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.