Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acking-you/byte_douyin_project
/ functions
Functions
211 in github.com/acking-you/byte_douyin_project
⨍
Functions
211
◇
Types & classes
57
↓ 8 callers
Method
IsUserExistById
(id int64)
deprecated/models/user_info.go:63
↓ 6 callers
Function
PublishVideoError
(c *gin.Context, msg string)
deprecated/handlers/video/publish_video_handler.go:81
↓ 6 callers
Method
QueryUserInfoById
(userId int64, userinfo *UserInfo)
deprecated/models/user_info.go:43
↓ 5 callers
Function
NewProxyIndexMap
()
deprecated/cache/index_map.go:36
↓ 4 callers
Method
Do
()
deprecated/service/video/post_video.go:31
↓ 4 callers
Method
GetVideoFavorState
GetVideoFavorState 得到点赞状态
deprecated/cache/index_map.go:51
↓ 3 callers
Method
GetUserRelation
GetUserRelation 得到关注状态
deprecated/cache/index_map.go:68
↓ 3 callers
Function
InitDB
()
deprecated/models/init_db.go:11
↓ 3 callers
Method
QueryVideoListByUserId
(userId int64, videoList *[]*Video)
deprecated/models/video.go:67
↓ 3 callers
Method
SendError
(msg string)
deprecated/handlers/user_info/query_follower_handler.go:68
↓ 3 callers
Method
SendError
(msg string)
deprecated/handlers/user_info/post_follow_action_handler.go:80
↓ 3 callers
Method
UpdateUserRelation
UpdateUserRelation 更新点赞状态,state:true为点关注,false为取消关注
deprecated/cache/index_map.go:58
↓ 3 callers
Method
UpdateVideoFavorState
UpdateVideoFavorState 更新点赞状态,state:true为点赞,false为取消点赞
deprecated/cache/index_map.go:41
↓ 2 callers
Method
FeedVideoListError
(msg string)
deprecated/handlers/video/feed_videolist_handler.go:88
↓ 2 callers
Method
FeedVideoListOk
(videoList *video.FeedVideoList)
deprecated/handlers/video/feed_videolist_handler.go:95
↓ 2 callers
Method
GetFollowListByUserId
(userId int64, userList *[]*UserInfo)
deprecated/models/user_info.go:103
↓ 2 callers
Method
GetFollowerListByUserId
(userId int64, userList *[]*UserInfo)
deprecated/models/user_info.go:117
↓ 2 callers
Method
IsVideoExistById
(id int64)
deprecated/models/video.go:129
↓ 2 callers
Function
NewUserInfoDAO
()
deprecated/models/user_info.go:36
↓ 2 callers
Function
NewVideoDAO
()
deprecated/models/video.go:35
↓ 2 callers
Method
QueryUserLogin
(username, password string, login *UserLogin)
deprecated/models/user_login.go:31
↓ 2 callers
Method
QueryVideoListByLimitAndTime
QueryVideoListByLimitAndTime 返回按投稿时间倒序的视频列表,并限制为最多limit个
deprecated/models/video.go:77
↓ 2 callers
Function
SHA1
(s string)
deprecated/middleware/password.go:9
↓ 2 callers
Method
SendError
(msg string)
deprecated/handlers/user_info/query_follow_list_handler.go:64
↓ 2 callers
Method
SendError
(msg string)
deprecated/handlers/comment/post_comment_handler.go:87
↓ 2 callers
Method
SendError
(msg string)
deprecated/handlers/comment/query_commentlist_handler.go:69
↓ 2 callers
Method
SendError
(msg string)
deprecated/handlers/video/post_favor_handler.go:70
↓ 2 callers
Method
SendError
(msg string)
deprecated/handlers/video/query_favor_videolist_handler.go:58
↓ 2 callers
Method
UserInfoError
(msg string)
deprecated/handlers/user_info/userinfo_handler.go:54
↓ 2 callers
Function
normalizeExtension
(ext string)
deprecated/util/ffmpeg.go:61
↓ 1 callers
Method
AddCommentAndUpdateCount
(comment *Comment)
deprecated/models/comment.go:30
↓ 1 callers
Method
AddUserFollow
(userId, userToId int64)
deprecated/models/user_info.go:73
↓ 1 callers
Method
AddUserInfo
(userinfo *UserInfo)
deprecated/models/user_info.go:56
↓ 1 callers
Method
AddVideo
AddVideo 添加视频 注意:由于视频和userinfo有多对一的关系,所以传入的Video参数一定要进行id的映射处理!
deprecated/models/video.go:44
↓ 1 callers
Method
CancelUserFollow
(userId, userToId int64)
deprecated/models/user_info.go:88
↓ 1 callers
Method
CreateComment
CreateComment 增加评论
deprecated/service/comment/post_comment.go:54
↓ 1 callers
Method
DeleteComment
DeleteComment 删除评论
deprecated/service/comment/post_comment.go:65
↓ 1 callers
Method
DeleteCommentAndUpdateCountById
(commentId, videoId int64)
deprecated/models/comment.go:51
↓ 1 callers
Method
Do
()
deprecated/service/user_info/query_follow_list.go:32
↓ 1 callers
Method
Do
()
deprecated/service/user_info/post_follow_action.go:33
↓ 1 callers
Method
Do
()
deprecated/service/user_info/query_follower_list.go:28
↓ 1 callers
Method
Do
()
deprecated/service/comment/post_comment.go:39
↓ 1 callers
Method
Do
()
deprecated/service/comment/query_comment_list.go:31
↓ 1 callers
Method
Do
()
deprecated/service/video/post_favor_state.go:32
↓ 1 callers
Method
Do
()
deprecated/service/video/feed_videolist.go:37
↓ 1 callers
Method
Do
()
deprecated/service/video/query_videolist.go:28
↓ 1 callers
Method
Do
()
deprecated/service/video/query_favor_videolist.go:28
↓ 1 callers
Method
Do
()
deprecated/service/user_login/query_user_login.go:38
↓ 1 callers
Method
Do
()
deprecated/service/user_login/post_user_login.go:27
↓ 1 callers
Method
Do
()
deprecated/handlers/user_info/query_follower_handler.go:32
↓ 1 callers
Method
Do
()
deprecated/handlers/user_info/post_follow_action_handler.go:28
↓ 1 callers
Method
Do
()
deprecated/handlers/user_info/query_follow_list_handler.go:32
↓ 1 callers
Method
Do
()
deprecated/handlers/comment/post_comment_handler.go:36
↓ 1 callers
Method
Do
()
deprecated/handlers/comment/query_commentlist_handler.go:33
↓ 1 callers
Method
Do
()
deprecated/handlers/video/post_favor_handler.go:28
↓ 1 callers
Method
Do
()
deprecated/handlers/video/query_favor_videolist_handler.go:30
↓ 1 callers
Method
DoHasToken
DoHasToken 如果是登录状态,则生成UserId字段
deprecated/handlers/video/feed_videolist_handler.go:63
↓ 1 callers
Method
DoNoToken
DoNoToken 未登录的视频流推送处理
deprecated/handlers/video/feed_videolist_handler.go:47
↓ 1 callers
Method
DoQueryUserInfoByUserId
(rawId interface{})
deprecated/handlers/user_info/userinfo_handler.go:37
↓ 1 callers
Method
DoQueryVideoListByUserId
DoQueryVideoListByUserId 根据userId字段进行查询
deprecated/handlers/video/query_videolist_handler.go:35
↓ 1 callers
Method
Execute
()
deprecated/util/ffmpeg.go:130
↓ 1 callers
Function
GetDefaultImageSuffix
()
deprecated/util/ffmpeg.go:42
↓ 1 callers
Function
GetDefaultVideoSuffix
()
deprecated/util/ffmpeg.go:36
↓ 1 callers
Method
IsUserExistByUsername
(username string)
deprecated/models/user_login.go:42
↓ 1 callers
Method
MinusOneFavorByUserIdAndVideoId
MinusOneFavorByUserIdAndVideoId 减少一个赞
deprecated/models/video.go:101
↓ 1 callers
Method
MinusOperation
MinusOperation 取消点赞
deprecated/service/video/post_favor_state.go:62
↓ 1 callers
Function
NewPostCommentFlow
(userId int64, videoId int64, commentId int64, actionType int64, commentText string)
deprecated/service/comment/post_comment.go:35
↓ 1 callers
Function
NewPostFavorStateFlow
(userId, videoId, action int64)
deprecated/service/video/post_favor_state.go:24
↓ 1 callers
Function
NewPostFollowActionFlow
(userId int64, userToId int64, actionType int)
deprecated/service/user_info/post_follow_action.go:29
↓ 1 callers
Function
NewPostUserLoginFlow
(username, password string)
deprecated/service/user_login/post_user_login.go:14
↓ 1 callers
Function
NewPostVideoFlow
(userId int64, videoName, coverName, title string)
deprecated/service/video/post_video.go:13
↓ 1 callers
Function
NewProxyCommentListHandler
(context *gin.Context)
deprecated/handlers/comment/query_commentlist_handler.go:29
↓ 1 callers
Function
NewProxyFavorVideoListHandler
(c *gin.Context)
deprecated/handlers/video/query_favor_videolist_handler.go:26
↓ 1 callers
Function
NewProxyFeedVideoList
(c *gin.Context)
deprecated/handlers/video/feed_videolist_handler.go:42
↓ 1 callers
Function
NewProxyPostCommentHandler
(context *gin.Context)
deprecated/handlers/comment/post_comment_handler.go:32
↓ 1 callers
Function
NewProxyPostFavorHandler
(c *gin.Context)
deprecated/handlers/video/post_favor_handler.go:24
↓ 1 callers
Function
NewProxyPostFollowAction
(context *gin.Context)
deprecated/handlers/user_info/post_follow_action_handler.go:24
↓ 1 callers
Function
NewProxyQueryFollowList
(context *gin.Context)
deprecated/handlers/user_info/query_follow_list_handler.go:28
↓ 1 callers
Function
NewProxyQueryFollowerHandler
(context *gin.Context)
deprecated/handlers/user_info/query_follower_handler.go:28
↓ 1 callers
Function
NewProxyQueryVideoList
(c *gin.Context)
deprecated/handlers/video/query_videolist_handler.go:30
↓ 1 callers
Function
NewProxyUserInfo
(c *gin.Context)
deprecated/handlers/user_info/userinfo_handler.go:33
↓ 1 callers
Function
NewQueryCommentListFlow
(userId, videoId int64)
deprecated/service/comment/query_comment_list.go:27
↓ 1 callers
Function
NewQueryFavorVideoListFlow
(userId int64)
deprecated/service/video/query_favor_videolist.go:24
↓ 1 callers
Function
NewQueryFeedVideoListFlow
(userId int64, latestTime time.Time)
deprecated/service/video/feed_videolist.go:33
↓ 1 callers
Function
NewQueryFollowListFlow
(userId int64)
deprecated/service/user_info/query_follow_list.go:28
↓ 1 callers
Function
NewQueryFollowerListFlow
(userId int64)
deprecated/service/user_info/query_follower_list.go:24
↓ 1 callers
Function
NewQueryUserLoginFlow
(username, password string)
deprecated/service/user_login/query_user_login.go:25
↓ 1 callers
Function
NewQueryVideoListByUserIdFlow
(userId int64)
deprecated/service/video/query_videolist.go:17
↓ 1 callers
Function
NewVideo2Image
()
deprecated/util/ffmpeg.go:32
↓ 1 callers
Function
ParseToken
ParseToken 解析token
deprecated/middleware/jwt.go:39
↓ 1 callers
Method
PlusOneFavorByUserIdAndVideoId
PlusOneFavorByUserIdAndVideoId 增加一个赞
deprecated/models/video.go:88
↓ 1 callers
Method
PlusOperation
PlusOperation 点赞操作
deprecated/service/video/post_favor_state.go:50
↓ 1 callers
Function
PublishVideoOk
(c *gin.Context, msg string)
deprecated/handlers/video/publish_video_handler.go:86
↓ 1 callers
Method
QueryCommentById
(id int64, comment *Comment)
deprecated/models/comment.go:68
↓ 1 callers
Method
QueryCommentListByVideoId
(videoId int64, comments *[]*Comment)
deprecated/models/comment.go:75
↓ 1 callers
Method
QueryFavorVideoListByUserId
(userId int64, videoList *[]*Video)
deprecated/models/video.go:114
↓ 1 callers
Method
QueryVideoCountByUserId
(userId int64, count *int64)
deprecated/models/video.go:60
↓ 1 callers
Method
QueryVideoListError
(msg string)
deprecated/handlers/video/query_videolist_handler.go:50
↓ 1 callers
Method
QueryVideoListOk
(videoList *video.List)
deprecated/handlers/video/query_videolist_handler.go:57
↓ 1 callers
Method
SendOk
(msg string)
deprecated/handlers/user_info/query_follower_handler.go:77
next →
1–100 of 211, ranked by callers