Documentation
¶
Index ¶
- func CheckPasswordHash(hashedPassword, password string) error
- func ConnectDB() (*gorm.DB, error)
- func CreateJWT(username string) (string, error)
- func ExtractJWT(r *http.Request) string
- func ExtractUsernameFromToken(r *http.Request) (string, error)
- func Hash(password string) (string, error)
- func Sanitize(data string) string
- func VerifyJWT(r *http.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func ExtractJWT ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.