Documentation ¶
Index ¶
- func CheckPasswordHash(password, hash string) bool
- func CreateAccount(c *fiber.Ctx) error
- func DeleteAccount(c *fiber.Ctx) error
- func GetAccount(c *fiber.Ctx) error
- func GetJWTToken(c *fiber.Ctx) error
- func IsLoggedIn(c *fiber.Ctx) error
- func Login(c *fiber.Ctx) error
- func Logout(c *fiber.Ctx) error
- func RenderSignInHandler(c *fiber.Ctx) error
- func RenderWelcomeHandler(c *fiber.Ctx) error
- func SignUpHandler(c *fiber.Ctx) error
- func UpdateAccount(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
CheckPasswordHash compare password with hash
func GetJWTToken ¶
func GetJWTToken(c *fiber.Ctx) error
func IsLoggedIn ¶
func IsLoggedIn(c *fiber.Ctx) error
func RenderSignInHandler ¶
func RenderSignInHandler(c *fiber.Ctx) error
func RenderWelcomeHandler ¶
func RenderWelcomeHandler(c *fiber.Ctx) error
func SignUpHandler ¶
func SignUpHandler(c *fiber.Ctx) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.