Documentation ¶
Index ¶
- Variables
- 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 Login(c *gin.Context)
- func PublishList(c *gin.Context)
- func PublishVideo(c *gin.Context)
- func RedisInit() (err error)
- func Register(c *gin.Context)
- func RelationAction(c *gin.Context)
- func RelationFollowList(c *gin.Context)
- func RelationFollowerList(c *gin.Context)
- func UserInfo(c *gin.Context)
- type CommentListResponse
- type CommentResponse
- type FavoriteResponse
- type FeedResponse
- type PublishListResp
- type RegisterResp
- type RelationListResponse
- type UserResp
Constants ¶
This section is empty.
Variables ¶
View Source
var Ctx = context.Background()
View Source
var OnlineUser = map[string]*common.UserVo{}
View Source
var Rd *redis.Client
Rd 定义一个全局变量
Functions ¶
Types ¶
type CommentListResponse ¶
type CommentResponse ¶
type FavoriteResponse ¶
type FeedResponse ¶
type PublishListResp ¶
type RegisterResp ¶
type RelationListResponse ¶
Click to show internal directories.
Click to hide internal directories.