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 FriendList(c *gin.Context)
- func JobSaveRedis()
- func Login(c *gin.Context)
- func MessageAction(c *gin.Context)
- func MessageChat(c *gin.Context)
- func Publish(c *gin.Context)
- func PublishList(c *gin.Context)
- func Register(c *gin.Context)
- func RelationAction(c *gin.Context)
- func SaveRedisToMySQL()
- func UpdateUserFollow(user *model.User)
- func UpdateUserFollowStatus(userID int64, to_user *model.User)
- func UserInfo(c *gin.Context)
- type CommentListResponse
- type CommentResponse
- type FeedResponse
- type FollowListResponse
- type FriendListResponse
- type MessageListResponse
- type UserLoginResponse
- type UserResponse
- type VideoListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateUserFollowStatus ¶
更新 关注列表或者粉丝列表的用户的关注状态
Types ¶
type CommentListResponse ¶
评论列表返回的结构体
type CommentResponse ¶
评论操作的返回结构体
type FeedResponse ¶
type FeedResponse struct { util.Response //标准响应体 VideoList []model.Video `json:"video_list"` //视频列表 NextTime int64 `json:"next_time,omitempty"` //本次返回的视频中,发布最早的时间,作为下次请求的Latest_time }
/feed接口的响应体
type FollowListResponse ¶
关注/粉丝功能 的响应结构体
type FriendListResponse ¶
好友列表的响应体
type MessageListResponse ¶
消息列表响应体
type UserLoginResponse ¶
type UserLoginResponse struct { util.Response UserId int64 `json:"user_id"` Token string `json:"token"` }
用户登录的响应体
type UserResponse ¶
用户信息响应体
Click to show internal directories.
Click to hide internal directories.