Documentation
¶
Index ¶
- func HashPassword(password string) ([]byte, error)
- func LoginGetPassword(username string) (storedPassword []byte, valid bool)
- func RegisterUserDatabase(username string, password []byte) (valid bool)
- func UsernameExists(username string) (exists bool, error bool)
- func ValidPassword(password string) bool
- func ValidUsername(username string) bool
- func VerifyPassword(storedPassword []byte, password string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
func LoginGetPassword ¶
func RegisterUserDatabase ¶
func UsernameExists ¶
func ValidUsername ¶
func VerifyPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.