Documentation ¶
Index ¶
- Variables
- func CreatePostHandle(c *fiber.Ctx) error
- func DeletePostHandle(c *fiber.Ctx) error
- func DisableCommentHandle(c *fiber.Ctx) error
- func DisableSharingHandle(c *fiber.Ctx) error
- func GeneratePostURLKeyHandle(c *fiber.Ctx) error
- func GetPostByURLKeyHandle(c *fiber.Ctx) error
- func GetPostHandle(c *fiber.Ctx) error
- func IncrementCommentHandle(c *fiber.Ctx) error
- func IncrementScoreHandle(c *fiber.Ctx) error
- func InitPostIndexHandle(c *fiber.Ctx) error
- func QueryPostHandle(c *fiber.Ctx) error
- func StringRand(length int) string
- func StringWithCharset(length int, charset string) string
- func UpdatePostHandle(c *fiber.Ctx) error
- func UpdatePostProfileHandle(c *fiber.Ctx) errordeprecated
- type PostQueryModel
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFoundHTTPStatusError = errors.New("NotFoundHTTPStatusError")
Functions ¶
func CreatePostHandle ¶
func CreatePostHandle(c *fiber.Ctx) error
CreatePostHandle handle create a new post
func DeletePostHandle ¶
func DeletePostHandle(c *fiber.Ctx) error
DeletePostHandle handle delete a post
func DisableCommentHandle ¶
func DisableCommentHandle(c *fiber.Ctx) error
DisableCommentHandle disble post's commnet
func DisableSharingHandle ¶
func DisableSharingHandle(c *fiber.Ctx) error
DisableSharingHandle disble post's sharing
func GeneratePostURLKeyHandle ¶
func GeneratePostURLKeyHandle(c *fiber.Ctx) error
GeneratePostURLKeyHandle handle get post URL key
func GetPostByURLKeyHandle ¶
func GetPostByURLKeyHandle(c *fiber.Ctx) error
GetPostByURLKeyHandle handle get a post
func IncrementCommentHandle ¶
func IncrementCommentHandle(c *fiber.Ctx) error
IncrementCommentHandle handle create a new post
func IncrementScoreHandle ¶
func IncrementScoreHandle(c *fiber.Ctx) error
IncrementScoreHandle handle create a new post
func InitPostIndexHandle ¶
func InitPostIndexHandle(c *fiber.Ctx) error
InitPostIndexHandle handle create a new post
func QueryPostHandle ¶
func QueryPostHandle(c *fiber.Ctx) error
QueryPostHandle handle query on post
func StringWithCharset ¶
func UpdatePostHandle ¶
func UpdatePostHandle(c *fiber.Ctx) error
UpdatePostHandle handle create a new post
func UpdatePostProfileHandle
deprecated
func UpdatePostProfileHandle(c *fiber.Ctx) error
Deprecated: UpdatePostProfileHandle
Types ¶
Click to show internal directories.
Click to hide internal directories.