Documentation ¶
Index ¶
- func CreateVoteHandle(c *fiber.Ctx) error
- func DeleteVoteByPostIdHandle(c *fiber.Ctx) error
- func DeleteVoteHandle(c *fiber.Ctx) error
- func GetVoteHandle(c *fiber.Ctx) error
- func GetVotesByPostIdHandle(c *fiber.Ctx) error
- func UpdateVoteHandle(c *fiber.Ctx) error
- type PostModelNotification
- type ResultAsync
- type UserInfoInReq
- type VoteQueryModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateVoteHandle ¶
func CreateVoteHandle(c *fiber.Ctx) error
CreateVoteHandle handle create a new vote
func DeleteVoteByPostIdHandle ¶
func DeleteVoteByPostIdHandle(c *fiber.Ctx) error
DeleteVoteByPostIdHandle handle delete a Vote but postId
func DeleteVoteHandle ¶
func DeleteVoteHandle(c *fiber.Ctx) error
DeleteVoteHandle handle delete a Vote
func GetVotesByPostIdHandle ¶
func GetVotesByPostIdHandle(c *fiber.Ctx) error
GetVotesByPostIdHandle handle query on vote
func UpdateVoteHandle ¶
func UpdateVoteHandle(c *fiber.Ctx) error
UpdateVoteHandle handle create a new vote
Types ¶
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"` }
type VoteQueryModel ¶
Click to show internal directories.
Click to hide internal directories.