Documentation
¶
Index ¶
- Constants
- Variables
- func CreateDtoProfileHandle(c *fiber.Ctx) error
- func DispatchProfilesHandle(c *fiber.Ctx) error
- func GetBySocialName(c *fiber.Ctx) error
- func GetProfileByIds(c *fiber.Ctx) error
- func IncreaseFollowCount(c *fiber.Ctx) error
- func IncreaseFollowerCount(c *fiber.Ctx) error
- func InitProfileIndexHandle(c *fiber.Ctx) error
- func QueryUserProfileHandle(c *fiber.Ctx) error
- func ReadDtoProfileHandle(c *fiber.Ctx) error
- func ReadMyProfileHandle(c *fiber.Ctx) error
- func ReadProfileHandle(c *fiber.Ctx) error
- func UpdateLastSeen(c *fiber.Ctx) error
- func UpdateProfileHandle(c *fiber.Ctx) error
- type Action
- type MembersPayload
- type UpdateProfileQueryModel
- type UserInfoInReq
- type UserProfileQueryModel
Constants ¶
View Source
const UpdateAllType = 0
View Source
const UpdateGeneralType = 1
View Source
const UpdateSocialInfoType = 2
Variables ¶
View Source
var NotFoundHTTPStatusError = errors.New("NotFoundHTTPStatusError")
Functions ¶
func CreateDtoProfileHandle ¶
func CreateDtoProfileHandle(c *fiber.Ctx) error
CreateProfileHandle handle create a new profile
func DispatchProfilesHandle ¶
func DispatchProfilesHandle(c *fiber.Ctx) error
DispatchProfilesHandle a function invocation to read authed user profile
func GetBySocialName ¶
func GetBySocialName(c *fiber.Ctx) error
GetBySocialName get user profile by social name
func GetProfileByIds ¶
func GetProfileByIds(c *fiber.Ctx) error
GetProfileByIds a function invocation to profiles by ids
func IncreaseFollowCount ¶
func IncreaseFollowCount(c *fiber.Ctx) error
IncreaseFollowCount a function invocation
func IncreaseFollowerCount ¶
func IncreaseFollowerCount(c *fiber.Ctx) error
IncreaseFollowerCount a function invocation
func InitProfileIndexHandle ¶
func InitProfileIndexHandle(c *fiber.Ctx) error
InitProfileIndexHandle handle create a new index
func QueryUserProfileHandle ¶
func QueryUserProfileHandle(c *fiber.Ctx) error
QueryUserProfileHandle handle query on userProfile
func ReadDtoProfileHandle ¶
func ReadDtoProfileHandle(c *fiber.Ctx) error
ReadDtoProfileHandle a function invocation
func ReadMyProfileHandle ¶
func ReadMyProfileHandle(c *fiber.Ctx) error
ReadMyProfileHandle a function invocation to read authed user profile
func ReadProfileHandle ¶
func ReadProfileHandle(c *fiber.Ctx) error
ReadProfileHandle a function invocation
func UpdateProfileHandle ¶
func UpdateProfileHandle(c *fiber.Ctx) error
UpdateProfileHandle a function invocation
Types ¶
type MembersPayload ¶
type MembersPayload struct {
Users map[string]interface{} `json:"users"`
}
type UpdateProfileQueryModel ¶
type UpdateProfileQueryModel struct {
UpdateType int `query:"updateType"`
}
type UserInfoInReq ¶
Click to show internal directories.
Click to hide internal directories.