Documentation ¶
Index ¶
- Variables
- func CreateCollectivesPostHandle(c *fiber.Ctx) error
- 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 GetFeedHandle(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 QueryCollectivesPostHandle(c *fiber.Ctx) error
- func QueryPostHandle(c *fiber.Ctx) error
- func StringRand(length int) string
- func StringWithCharset(length int, charset string) string
- func UpdateCollectivesPostProfileHandle(c *fiber.Ctx) errordeprecated
- func UpdatePostHandle(c *fiber.Ctx) error
- func UpdatePostProfileHandle(c *fiber.Ctx) errordeprecated
- type PostFeedQueryModel
- type PostQueryCollectivesModel
- type PostQueryModel
- type ResultAsync
- type UserInfoInReq
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFoundHTTPStatusError = errors.New("NotFoundHTTPStatusError")
Functions ¶
func CreateCollectivesPostHandle ¶
func CreateCollectivesPostHandle(c *fiber.Ctx) error
Create Collectives Post Handle
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 QueryCollectivesPostHandle ¶
func QueryCollectivesPostHandle(c *fiber.Ctx) error
Query Collective's Posts
func QueryPostHandle ¶
func QueryPostHandle(c *fiber.Ctx) error
QueryPostHandle handle query on post
func StringWithCharset ¶
func UpdateCollectivesPostProfileHandle
deprecated
func UpdateCollectivesPostProfileHandle(c *fiber.Ctx) error
Deprecated: UpdateCollectivesPostProfileHandle
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 ¶
type PostFeedQueryModel ¶
type PostQueryModel ¶
type ResultAsync ¶
Async Call Stuff To Propagate Context
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.