Documentation ¶
Index ¶
- Variables
- func HandleHealthCheck(c *fiber.Ctx) error
- func HandleIsAuthenticated(c *fiber.Ctx, db *database.Database) error
- func HandleLogin(c *fiber.Ctx, db *database.Database) error
- func HandleLogout(c *fiber.Ctx, db *database.Database) error
- func HandleRegister(c *fiber.Ctx, db *database.Database) error
Constants ¶
This section is empty.
Variables ¶
View Source
var SecretKey = os.Getenv("TOKEN_SECRET")
Functions ¶
func HandleHealthCheck ¶
func HandleHealthCheck(c *fiber.Ctx) error
func HandleIsAuthenticated ¶
Check authentication handler
func HandleRegister ¶
Register handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.