user_info

package
v0.0.0-...-6db71ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostFollowActionHandler

func PostFollowActionHandler(c *gin.Context)

func QueryFollowListHandler

func QueryFollowListHandler(c *gin.Context)

func QueryFollowerHandler

func QueryFollowerHandler(c *gin.Context)

func UserInfoHandler

func UserInfoHandler(c *gin.Context)

Types

type FollowListResponse

type FollowListResponse struct {
	models.CommonResponse
	*user_info.FollowList
}

type FollowerListResponse

type FollowerListResponse struct {
	models.CommonResponse
	*user_info.FollowerList
}

type ProxyPostFollowAction

type ProxyPostFollowAction struct {
	*gin.Context
	// contains filtered or unexported fields
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL