Documentation ¶
Index ¶
- Constants
- Variables
- func CreateDtoProfileHandle(c *fiber.Ctx) error
- func DispatchProfilesHandle(c *fiber.Ctx) error
- func GetActionAccessKey(userInfoInReq *UserInfoInReq) (*models.ActionAccessKeyModel, error)
- func GetActionAccessKeyAsync(userInfoInReq *UserInfoInReq) <-chan GetActionAccessKeyResultAsync
- 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 GetActionAccessKeyResultAsync
- type JWTCookie
- type MembersPayload
- type UpdateProfileQueryModel
- type UserInfoInReq
- type UserProfileQueryModel
Constants ¶
const UpdateAllType = 0
const UpdateGeneralType = 1
const UpdateSocialInfoType = 2
Variables ¶
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 GetActionAccessKey ¶
func GetActionAccessKey(userInfoInReq *UserInfoInReq) (*models.ActionAccessKeyModel, error)
GetActionAccessKey get action access key
func GetActionAccessKeyAsync ¶
func GetActionAccessKeyAsync(userInfoInReq *UserInfoInReq) <-chan GetActionAccessKeyResultAsync
GetActionAccessKeyAsync get action access key async (async call to get action access key) and return a channel to receive the result
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 queru 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"`
}