Documentation
¶
Index ¶
- func CommentAction(c *gin.Context)
- func CommentList(c *gin.Context)
- func FavoriteAction(c *gin.Context)
- func FavoriteList(c *gin.Context)
- func Feed(c *gin.Context)
- func FollowList(c *gin.Context)
- func FollowerList(c *gin.Context)
- func MessageAction(c *gin.Context)
- func MessageChat(c *gin.Context)
- func PublishAction(c *gin.Context)
- func PublishList(c *gin.Context)
- func RelationAction(c *gin.Context)
- func SendChatResponse(c *gin.Context, messages interface{}, err error)
- func SendCommentActionResponse(c *gin.Context, err error, comment interface{})
- func SendCommentListResponse(c *gin.Context, err error, commentList interface{})
- func SendFavoriteListResponse(c *gin.Context, err error, videoList interface{})
- func SendFeedResponse(c *gin.Context, err error, videoList interface{}, nextTime int64)
- func SendPublishListResponse(c *gin.Context, err error, videoList interface{})
- func SendRelationListResponse(c *gin.Context, err error, userList interface{})
- func SendResponse(c *gin.Context, err error)
- func SendUserInfoResponse(c *gin.Context, err error, user interface{})
- func SendUserResponse(c *gin.Context, err error, userId int64, token string)
- func UserInfo(c *gin.Context)
- func UserRegister(c *gin.Context)
- type CommentActionResponse
- type CommentListResponse
- type FavoriteListResponse
- type FeedResponse
- type MessageInfoResponse
- type PublishListResponse
- type RelationListResponse
- type Response
- type UserInfoResponse
- type UserLogin
- type UserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentAction ¶
func CommentList ¶
func FavoriteAction ¶
func FollowList ¶
func FollowerList ¶
func MessageAction ¶
func MessageChat ¶
func PublishAction ¶
func RelationAction ¶
RelationAction implement follow and unfollow actions
func SendChatResponse ¶
func SendCommentActionResponse ¶
SendCommentActionResponse pack comment action response
func SendCommentListResponse ¶
SendCommentListResponse pack comment list response
func SendFeedResponse ¶
func SendPublishListResponse ¶
func SendResponse ¶
func SendUserInfoResponse ¶
func SendUserResponse ¶
func UserRegister ¶
Types ¶
type CommentActionResponse ¶
type CommentListResponse ¶
type FavoriteListResponse ¶
type FeedResponse ¶
type MessageInfoResponse ¶
type PublishListResponse ¶
type RelationListResponse ¶
type UserInfoResponse ¶
Click to show internal directories.
Click to hide internal directories.