Documentation
¶
Index ¶
- func CreateCommentHandle(c *fiber.Ctx) error
- func DeleteCommentByPostIdHandle(c *fiber.Ctx) error
- func DeleteCommentHandle(c *fiber.Ctx) error
- func GetCommentHandle(c *fiber.Ctx) error
- func GetCommentsByPostIdHandle(c *fiber.Ctx) error
- func QueryCommentHandle(c *fiber.Ctx) error
- func UpdateCommentHandle(c *fiber.Ctx) error
- func UpdateCommentProfileHandle(c *fiber.Ctx) error
- type CommentQueryByPostIdModel
- type CommentQueryModel
- type PostModelNotification
- type ResultAsync
- type UserInfoInReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommentHandle ¶
func CreateCommentHandle(c *fiber.Ctx) error
CreateCommentHandle handle create a new comment
func DeleteCommentByPostIdHandle ¶
func DeleteCommentByPostIdHandle(c *fiber.Ctx) error
DeleteCommentByPostIdHandle handle delete a Comment but postId
func DeleteCommentHandle ¶
func DeleteCommentHandle(c *fiber.Ctx) error
DeleteCommentHandle handle delete a Comment
func GetCommentHandle ¶
func GetCommentHandle(c *fiber.Ctx) error
GetCommentHandle handle get a comment
func GetCommentsByPostIdHandle ¶
func GetCommentsByPostIdHandle(c *fiber.Ctx) error
GetCommentsByPostIdHandle handle query on comment
func QueryCommentHandle ¶
func QueryCommentHandle(c *fiber.Ctx) error
QueryCommentHandle handle query on comment
func UpdateCommentHandle ¶
func UpdateCommentHandle(c *fiber.Ctx) error
UpdateCommentHandle handle create a new comment
func UpdateCommentProfileHandle ¶
func UpdateCommentProfileHandle(c *fiber.Ctx) error
UpdateCommentProfileHandle handle create a new post
Types ¶
type CommentQueryModel ¶
type PostModelNotification ¶
type ResultAsync ¶
type UserInfoInReq ¶
type UserInfoInReq struct { UserId uuid.UUID `json:"uid"` Username string `json:"email"` DisplayName string `json:"displayName"` SocialName string `json:"socialName"` Avatar string `json:"avatar"` Banner string `json:"banner"` TagLine string `json:"tagLine"` SystemRole string `json:"role"` CreatedDate int64 `json:"createdDate"` }
Click to show internal directories.
Click to hide internal directories.