package
Version:
v0.0.0-...-2143ae3
Opens a new window with list of versions in this module.
Published: Jan 2, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Login(c *fiber.Ctx) error
func Register(c *fiber.Ctx) error
func SetupRoutes(app *fiber.App)
func State(c *fiber.Ctx) error
type ErrorResponse struct {
Error string `json:"error"`
}
type LoginUserRequest struct {
Username string `json:"username"`
Password string `json:"password"`
}
type RegisterUserRequest struct {
Username string `json:"username"`
Password string `json:"password"`
Name string `json:"name"`
Email string `json:"email"`
Permissions datatypes.JSON `json:"permissions"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.