Documentation ¶
Index ¶
- func PostFollowActionHandler(c *gin.Context)
- func QueryFollowListHandler(c *gin.Context)
- func QueryFollowerHandler(c *gin.Context)
- func UserInfoHandler(c *gin.Context)
- type FollowListResponse
- type FollowerListResponse
- type ProxyPostFollowAction
- type ProxyQueryFollowList
- type ProxyQueryFollowerHandler
- type ProxyUserInfo
- type UserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostFollowActionHandler ¶
func QueryFollowListHandler ¶
func QueryFollowerHandler ¶
func UserInfoHandler ¶
Types ¶
type FollowListResponse ¶
type FollowListResponse struct { models.CommonResponse *user_info.FollowList }
type FollowerListResponse ¶
type FollowerListResponse struct { models.CommonResponse *user_info.FollowerList }
type ProxyPostFollowAction ¶
func NewProxyPostFollowAction ¶
func NewProxyPostFollowAction(context *gin.Context) *ProxyPostFollowAction
func (*ProxyPostFollowAction) Do ¶
func (p *ProxyPostFollowAction) Do()
func (*ProxyPostFollowAction) SendError ¶
func (p *ProxyPostFollowAction) SendError(msg string)
func (*ProxyPostFollowAction) SendOk ¶
func (p *ProxyPostFollowAction) SendOk(msg string)
type ProxyQueryFollowList ¶
type ProxyQueryFollowList struct { *gin.Context *user_info.FollowList // contains filtered or unexported fields }
func NewProxyQueryFollowList ¶
func NewProxyQueryFollowList(context *gin.Context) *ProxyQueryFollowList
func (*ProxyQueryFollowList) Do ¶
func (p *ProxyQueryFollowList) Do()
func (*ProxyQueryFollowList) SendError ¶
func (p *ProxyQueryFollowList) SendError(msg string)
func (*ProxyQueryFollowList) SendOk ¶
func (p *ProxyQueryFollowList) SendOk(msg string)
type ProxyQueryFollowerHandler ¶
type ProxyQueryFollowerHandler struct { *gin.Context *user_info.FollowerList // contains filtered or unexported fields }
func NewProxyQueryFollowerHandler ¶
func NewProxyQueryFollowerHandler(context *gin.Context) *ProxyQueryFollowerHandler
func (*ProxyQueryFollowerHandler) Do ¶
func (p *ProxyQueryFollowerHandler) Do()
func (*ProxyQueryFollowerHandler) SendError ¶
func (p *ProxyQueryFollowerHandler) SendError(msg string)
func (*ProxyQueryFollowerHandler) SendOk ¶
func (p *ProxyQueryFollowerHandler) SendOk(msg string)
type ProxyUserInfo ¶
type ProxyUserInfo struct {
// contains filtered or unexported fields
}
func NewProxyUserInfo ¶
func NewProxyUserInfo(c *gin.Context) *ProxyUserInfo
func (*ProxyUserInfo) DoQueryUserInfoByUserId ¶
func (p *ProxyUserInfo) DoQueryUserInfoByUserId(rawId interface{}) error
func (*ProxyUserInfo) UserInfoError ¶
func (p *ProxyUserInfo) UserInfoError(msg string)
func (*ProxyUserInfo) UserInfoOk ¶
func (p *ProxyUserInfo) UserInfoOk(user *models.UserInfo)
type UserResponse ¶
type UserResponse struct { models.CommonResponse User *models.UserInfo `json:"user"` }
Click to show internal directories.
Click to hide internal directories.