Documentation ¶
Index ¶
- func ComparePassword(password, hashedPassword string) error
- func Deserialize(data []byte, output any) error
- func GenerateCacheKey(prefix string, params any) string
- func GenerateCacheKeyParams(params ...any) string
- func HashPassword(password string) (string, error)
- func Serialize(data any) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassword ¶
ComparePassword compares input password with hashed password
func Deserialize ¶
Deserialize unmarshals the input data into the output interface
func GenerateCacheKey ¶
GenerateCacheKey generates a cache key based on the input parameters
func GenerateCacheKeyParams ¶
GenerateCacheParams generates a cache params based on the input parameters
func HashPassword ¶
HashPassword hashes input password using bcrypt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.