package
Version:
v0.0.0-...-d266086
Opens a new window with list of versions in this module.
Published: Aug 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetMe(c *fiber.Ctx) error
func GetUser(c *fiber.Ctx) error
func PostUser(c *fiber.Ctx) error
type ApiMessage struct {
StatusCode int `json:"code"`
Message string `json:"message"`
}
type SignUpUser struct {
Id int64 `json:"id"`
Username string `json:"username"`
AvatarURL string `json:"avatar_url"`
Email string `json:"email"`
Password string `json:"password"`
}
type User struct {
Id int64 `json:"id"`
Username string `json:"username"`
AvatarURL string `json:"avatar_url"`
Flags int `json:"flags"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.