Documentation ¶
Index ¶
- Constants
- Variables
- func CreateCollectiveHandle(c *fiber.Ctx) error
- func CreateDtoCollectiveHandle(c *fiber.Ctx) error
- func DispatchCollectiveHandle(c *fiber.Ctx) error
- func GetCollectiveByIds(c *fiber.Ctx) error
- func IncreaseFollowerCount(c *fiber.Ctx) error
- func IncreasePostCount(c *fiber.Ctx) error
- func InitCollectiveIndexHandle(c *fiber.Ctx) error
- func QueryCollectiveHandle(c *fiber.Ctx) error
- func ReadCollectiveHandle(c *fiber.Ctx) error
- func ReadDtoCollectiveHandle(c *fiber.Ctx) error
- type Action
- type CollectiveQueryModel
- type MembersPayload
- type UpdateCollectiveQueryModel
- type UserInfoInReq
Constants ¶
View Source
const UpdateAllType = 0
View Source
const UpdateGeneralType = 1
Variables ¶
View Source
var NotFoundHTTPStatusError = errors.New("NotFoundHTTPStatusError")
Functions ¶
func CreateCollectiveHandle ¶
func CreateCollectiveHandle(c *fiber.Ctx) error
func CreateDtoCollectiveHandle ¶
func CreateDtoCollectiveHandle(c *fiber.Ctx) error
CreateCollectiveHandle handle create a new collective
func DispatchCollectiveHandle ¶
func DispatchCollectiveHandle(c *fiber.Ctx) error
DispatchCollectiveHandle a function invocation to read authed user profile
func GetCollectiveByIds ¶
func GetCollectiveByIds(c *fiber.Ctx) error
GetCollectiveByIds a function invocation to profiles by ids
func IncreaseFollowerCount ¶
func IncreaseFollowerCount(c *fiber.Ctx) error
IncreaseFollowerCount a function invocation
func IncreasePostCount ¶
func IncreasePostCount(c *fiber.Ctx) error
IncreaseFollowCount a function invocation
func InitCollectiveIndexHandle ¶
func InitCollectiveIndexHandle(c *fiber.Ctx) error
InitCollectiveIndexHandle handle create a new index
func QueryCollectiveHandle ¶
func QueryCollectiveHandle(c *fiber.Ctx) error
QueryCollectiveHandle handle query on collective
func ReadCollectiveHandle ¶
func ReadCollectiveHandle(c *fiber.Ctx) error
ReadProfileHandle a function invocation
func ReadDtoCollectiveHandle ¶
func ReadDtoCollectiveHandle(c *fiber.Ctx) error
ReadDtoCollectiveHandle a function invocation
Types ¶
type CollectiveQueryModel ¶
type MembersPayload ¶
type MembersPayload struct {
Collectives map[string]interface{} `json:"users"`
}
type UpdateCollectiveQueryModel ¶
type UpdateCollectiveQueryModel struct {
UpdateType int `query:"updateType"`
}
Click to show internal directories.
Click to hide internal directories.