Documentation ¶
Index ¶
- Variables
- func AddCategory(c echo.Context) error
- func AddImage(c echo.Context) (err error)
- func AddTag(c echo.Context) error
- func EditCategory(c echo.Context) error
- func EditImage(c echo.Context) error
- func EditTag(c echo.Context) error
- func GetAllCategory(c echo.Context) error
- func GetAllImage(c echo.Context) error
- func GetAllTag(c echo.Context) error
- func GetCategory(c echo.Context) error
- func GetImage(c echo.Context) error
- func GetTag(c echo.Context) error
- func RemoveCategory(c echo.Context) error
- func RemoveImage(c echo.Context) error
- func RemoveTag(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EmptyValue = make([]int, 0)
)
Functions ¶
func AddCategory ¶
func AddCategory(c echo.Context) error
AddCategory creates a new category from JSON request.
func AddImage ¶
func AddImage(c echo.Context) (err error)
AddImage creates a new image from JSON request.
func EditCategory ¶
func EditCategory(c echo.Context) error
EditCategory updates a category from JSON request.
func GetAllCategory ¶
func GetAllCategory(c echo.Context) error
GetAllCategory returns a JSON list of categories.
func GetAllImage ¶
func GetAllImage(c echo.Context) error
GetAllImage returns a JSON list of images.
func GetCategory ¶
func GetCategory(c echo.Context) error
GetCategory returns a JSON object for one category.
func RemoveCategory ¶
func RemoveCategory(c echo.Context) error
RemoveCategory Delete category from JSON request.
func RemoveImage ¶
func RemoveImage(c echo.Context) error
RemoveImage Delete image from JSON request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.