package
Version:
v0.0.0-...-80a4a0d
Opens a new window with list of versions in this module.
Published: Dec 29, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LoginHandler(c *fiber.Ctx) error
func LogoutHandler(c *fiber.Ctx) error
func RegisterHandler(c *fiber.Ctx) error
func UserHandler(c *fiber.Ctx) error
type UserLogin struct {
Email string `json:"email"`
Password string `json:"password"`
Remember bool `json:"remember"`
}
type UserRegister struct {
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
Repeat string `json:"repeat"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.