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 Publish(c *gin.Context)
- func PublishList(c *gin.Context)
- func Register(c *gin.Context)
- func RelationAction(c *gin.Context)
- 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 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 SendVideoListResponse(c *gin.Context, err error, videoList interface{})
- func UserInfo(c *gin.Context)
- type CommentActionResponse
- type CommentListResponse
- type FavoriteListResponse
- type FeedResponse
- type RelationListResponse
- type Response
- type UserInfoResponse
- type UserLoginParam
- type UserResponse
- type VideoListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentAction ¶
CommentAction implement adding and deleting comments
func FavoriteAction ¶
FavoriteAction implement like and unlike operations
func RelationAction ¶
RelationAction implement follow and unfollow actions
func SendCommentActionResponse ¶
SendCommentActionResponse pack comment action response
func SendCommentListResponse ¶
SendCommentListResponse pack comment list response
func SendFavoriteListResponse ¶
SendFavoriteListResponse pack favorite list response
func SendFeedResponse ¶
SendFeedResponse pack feed response
func SendRelationListResponse ¶
SendRelationListResponse pack relation list response
func SendUserInfoResponse ¶
SendUserInfoResponse pack user info response
func SendUserResponse ¶
SendUserResponse pack user response
func SendVideoListResponse ¶
SendVideoListResponse pack video list response
Types ¶
type CommentActionResponse ¶
type CommentListResponse ¶
type FavoriteListResponse ¶
type FeedResponse ¶
type RelationListResponse ¶
type UserInfoResponse ¶
type UserLoginParam ¶
type UserResponse ¶
type VideoListResponse ¶
Click to show internal directories.
Click to hide internal directories.