package
Version:
v0.0.0-...-1ad4281
Opens a new window with list of versions in this module.
Published: Nov 11, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Avatar(c *fiber.Ctx) error
Avatar Update handler
func Bio(c *fiber.Ctx) error
Bio Update handler
func Name(c *fiber.Ctx) error
Name Update handler
func RemoveAvatar(c *fiber.Ctx) error
RemoveAvatar handler
func Type(c *fiber.Ctx) error
Type Update handler
type AvatarResp struct {
Success bool `json:"success"`
AvatarUrl string `json:"avatarUrl,omitempty"`
Error string `json:"error,omitempty"`
}
type BioRequest struct {
Bio string `json:"bio" form:"bio"`
}
type NameRequest struct {
Name string `json:"name" form:"name"`
}
type TypeRequest struct {
Type user.Types `json:"type" form:"type"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.