Documentation
¶
Index ¶
- Variables
- func CommentActionHandler(ctx *gin.Context)
- func CommentActionResponse(ctx *gin.Context, code int, msg string, comment *pb.Comment)
- func CommentListHandler(ctx *gin.Context)
- func CommentListResponse(ctx *gin.Context, code int, msg string, comments []*pb.Comment)
- func DebugInit()
- func FavoriteAction(ctx *gin.Context)
- func FavoriteList(ctx *gin.Context)
- func Feed(ctx *gin.Context)
- func FollowActionHandler(ctx *gin.Context)
- func FollowListHandler(ctx *gin.Context)
- func FollowerResponse(ctx *gin.Context, code int32, msg string, user_list []*pb.User)
- func Followerlist(ctx *gin.Context)
- func GetURL(ctx *gin.Context)
- func LoginHandler(ctx *gin.Context)
- func LoginResponse(ctx *gin.Context, code int, msg string, user_id int, token string)
- func PubListHandler(ctx *gin.Context)
- func PublistResponse(ctx *gin.Context, code int32, msg string, video_list []*pb.Video)
- func Register(ctx *gin.Context)
- func TotalFavorited(uid int) (res int64, err error)
- func UploadHandler(ctx *gin.Context)
- func UploadResponse(ctx *gin.Context, code int, message string)
- func UserInfHandler(ctx *gin.Context)
- func UserinfoResponse(ctx *gin.Context, code int32, msg string, user pb.User)
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugChan = make(chan int, 10)
Functions ¶
func CommentActionHandler ¶
CommentActionHandler:评论操作处理器函数
func CommentActionResponse ¶
CommentActionResponse:返回评论操作处理信息
func CommentListResponse ¶
CommentListResponse:返回评论列表处理信息
func FavoriteAction ¶
func FavoriteList ¶
func FollowActionHandler ¶
func FollowListHandler ¶
func FollowerResponse ¶
FollowertResponse:返回处理信息
func Followerlist ¶
func LoginResponse ¶
LoginResponse:返回登录处理信息
func PublistResponse ¶
PublistResponse:返回发布列表处理信息
func TotalFavorited ¶
TotalFavorited:获取用户总获赞数,根据客户端的调整临时追加,效率很低
func UploadResponse ¶
UploadResponse:返回上传处理信息
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.