//
pkg.gl
Category
github.com/JakubSchwenkbeck/go-web-server
internal
auth
package
0.0.0-20241212113920-93466a4fecaf
Repository:
https://github.com/jakubschwenkbeck/go-web-server.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
94 SLOC
#
Functions
GenerateJWT
No description provided by the author
HashPassword
HashPassword hashes the given password using bcrypt and returns the hash as a string.
IsAdmin
No description provided by the author
Login
Login authenticates a user by username and password.
#
Structs
Claims
No description provided by the author