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: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Content(c *fiber.Ctx) error
Content Update handler
func Media(c *fiber.Ctx) error
Avatar Update handler
func RemoveMedia(c *fiber.Ctx) error
TODO
RemoveMedia handler
type ContentRequest struct {
Content string `json:"content" form:"content"`
}
type MediaResp struct {
Success bool `json:"success"`
AvatarUrl string `json:"avatarUrl,omitempty"`
Error string `json:"error,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.