update

package
v0.0.0-...-1ad4281 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content

func Content(c *fiber.Ctx) error

Content Update handler

func Media

func Media(c *fiber.Ctx) error

Avatar Update handler

func RemoveMedia

func RemoveMedia(c *fiber.Ctx) error

TODO RemoveMedia handler

Types

type ContentRequest

type ContentRequest struct {
	Content string `json:"content" form:"content"`
}

type MediaResp

type MediaResp struct {
	Success   bool   `json:"success"`
	AvatarUrl string `json:"avatarUrl,omitempty"`
	Error     string `json:"error,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL