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 Login(c *gin.Context)
- func Publish(c *gin.Context)
- func PublishList(c *gin.Context)
- func Register(c *gin.Context)
- func RelationAction(c *gin.Context)
- func UserInfo(c *gin.Context)
- type CommentListResponse
- type FeedResponse
- type UserListResponse
- type UserResponse
- type VideoListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FavoriteAction ¶
FavoriteAction create or delete favorite of a video
Types ¶
type CommentListResponse ¶
type CommentListResponse struct { model.Response CommentList []model.Comment `json:"comment_list,omitempty"` }
CommentListResponse comment list response
type FeedResponse ¶
type FeedResponse struct { app.Response VideoList []model.Video `json:"video_list,omitempty"` NextTime int64 `json:"next_time,omitempty"` }
FeedResponse get video list order by time
type UserListResponse ¶
Click to show internal directories.
Click to hide internal directories.