Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HasherService ¶
type HasherService interface { HashPassword(password string) (string, error) VerifyPassword(password, hash string) bool }
HasherService provides hashing logic to securely store passwords.
func NewHasherService ¶
func NewHasherService(cfg Config) (HasherService, error)
Click to show internal directories.
Click to hide internal directories.