package
Version:
v0.0.0-...-6f82975
Opens a new window with list of versions in this module.
Published: Aug 25, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AddPost(c *fiber.Ctx) error
AddPost api add post
func AddTag(ctx *fiber.Ctx) error
AddTag api add tag
func DeletePost(c *fiber.Ctx) error
DeletePost api get post
func DeleteTag(ctx *fiber.Ctx) error
DeleteTag api get tag
func GetAllPosts(c *fiber.Ctx) error
GetAllPosts api get all post
func GetAllTags(ctx *fiber.Ctx) error
GetAllTags api get all tag
func GetPost(c *fiber.Ctx) error
GetPost api get post
func GetPosts(c *fiber.Ctx) error
GetPosts api get page post
func GetTag(ctx *fiber.Ctx) error
GetTag api get tag
func GetTags(ctx *fiber.Ctx) error
GetTags api get page tag
func UpdatePost(c *fiber.Ctx) error
UpdatePost api update post
func UpdateTag(ctx *fiber.Ctx) error
UpdateTag api update tag
type DataResp struct {
Err int `json:"err"`
Msg string `json:"msg"`
Data interface{} `json:"data,omitempty"`
}
DataResp is struct data response
Source Files
¶
Click to show internal directories.
Click to hide internal directories.