MCPcopy Create free account

hub / github.com/8xmx8/GuTikTok / functions

Functions1,182 in github.com/8xmx8/GuTikTok

↓ 1 callersFunctionfindRecommendVideos
(ctx context.Context, recommendVideoId []uint32)
src/services/feed/handler.go:491
↓ 1 callersFunctionfindVideos
(ctx context.Context, latestTime int64)
src/services/feed/handler.go:461
↓ 1 callersFunctiongetAvatarByEmail
(ctx context.Context, email string)
src/services/auth/handler.go:461
↓ 1 callersFunctiongetEmailMD5
(ctx context.Context, email string)
src/services/auth/handler.go:467
↓ 1 callersFunctiongetVideoIds
(ctx context.Context, actorId string, num int)
src/services/recommend/handler.go:139
↓ 1 callersFunctionhasToken
(ctx context.Context, token string)
src/services/auth/handler.go:425
↓ 1 callersFunctionisKeywordsExist
(videoId uint32)
src/services/videoprocessor/summary.go:630
↓ 1 callersFunctionisMagicUserExist
(ctx context.Context, logger *logrus.Entry, span *trace.Span)
src/services/videoprocessor/summary.go:643
↓ 1 callersFunctionisSummaryExist
(videoId uint32)
src/services/videoprocessor/summary.go:617
↓ 1 callersFunctionisTranscriptExist
(videoId uint32)
src/services/videoprocessor/summary.go:604
↓ 1 callersFunctionisUserVerifiedInRedis
(ctx context.Context, username string, password string)
src/services/auth/handler.go:429
↓ 1 callersFunctionparamValidate
(c *gin.Context)
src/web/publish/handler.go:63
↓ 1 callersFunctionproduceComment
(ctx context.Context, event models.RecommendEvent)
src/services/comment/handler.go:96
↓ 1 callersFunctionproduceFavorite
(ctx context.Context, event models.RecommendEvent)
src/services/favorite/handler.go:83
↓ 1 callersFunctionproduceKeywords
(ctx context.Context, event models.RecommendEvent)
src/services/videoprocessor/summary.go:95
↓ 1 callersFunctionquery
(ctx context.Context, logger *logrus.Entry, actorId uint32, videoIds []uint32)
src/services/feed/handler.go:656
↓ 1 callersFunctionrateComment
(logger *logrus.Entry, span trace.Span, commentContent string, commentID uint32)
src/services/comment/handler.go:549
↓ 1 callersFunctionreindexCommentList
Put the magic comment to the front
src/services/comment/handler.go:634
↓ 1 callersFunctionsaveAuditAction
(channel *amqp.Channel)
src/services/msgconsumer/main.go:398
↓ 1 callersFunctionsaveMessage
(channel *amqp.Channel)
src/services/msgconsumer/main.go:202
↓ 1 callersFunctionsetUserInfoToRedis
(ctx context.Context, username string, password string)
src/services/auth/handler.go:447
↓ 1 callersFunctionsetup
()
test/rpc/commentrpc_test.go:18
↓ 1 callersFunctionspeech2Text
(ctx context.Context, audioFileName string)
src/services/videoprocessor/summary.go:485
↓ 1 callersFunctiontext2Keywords
(ctx context.Context, transcript string, keywordsChannel *chan string, errChannel *chan error)
src/services/videoprocessor/summary.go:560
↓ 1 callersFunctiontext2Summary
(ctx context.Context, transcript string, summaryChannel *chan string, errChannel *chan error)
src/services/videoprocessor/summary.go:518
↓ 1 callersFunctiontextWatermark
(ctx context.Context, video *models.RawVideo)
src/services/videoprocessor/main.go:265
↓ 1 callersFunctionvideo2Audio
(ctx context.Context, videoFileName string)
src/services/videoprocessor/summary.go:445
MethodActionComment
ActionComment implements the CommentServiceImpl interface.
src/services/comment/handler.go:133
MethodActionComment
(ctx context.Context, in *ActionCommentRequest, opts ...grpc.CallOption)
src/rpc/comment/comment_grpc.pb.go:44
MethodActionComment
(context.Context, *ActionCommentRequest)
src/rpc/comment/comment_grpc.pb.go:75
MethodActionComment
(context.Context, *ActionCommentRequest)
src/rpc/comment/comment_grpc.pb.go:85
FunctionActionCommentHandler
(c *gin.Context)
src/web/comment/handler.go:24
FunctionActionFavoriteHandler
(c *gin.Context)
src/web/favorite/handler.go:24
FunctionActionMessageHandler
(c *gin.Context)
src/web/message/handler.go:26
FunctionActionPublishHandle
(c *gin.Context)
src/web/publish/handler.go:84
FunctionActionRedisSync
(time time.Duration, f func(client redis2.UniversalClient) error)
src/storage/cached/cache.go:304
FunctionActionRelationHandler
ActionRelationHandler todo: frontend interface relation/action
src/web/relation/handler.go:25
MethodAuthenticate
(ctx context.Context, request *auth.AuthenticateRequest)
src/services/auth/handler.go:55
MethodAuthenticate
(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption)
src/rpc/auth/auth_grpc.pb.go:44
MethodAuthenticate
(context.Context, *AuthenticateRequest)
src/rpc/auth/auth_grpc.pb.go:75
MethodAuthenticate
(context.Context, *AuthenticateRequest)
src/rpc/auth/auth_grpc.pb.go:85
FunctionCacheAndRedisGet
CacheAndRedisGet 从内存缓存和 Redis 缓存中读取数据
src/storage/cached/cache.go:258
MethodChat
Chat Chat(context.Context, *ChatRequest) (*ChatResponse, error)
src/services/message/handler.go:267
MethodChat
(ctx context.Context, in *ChatRequest, opts ...grpc.CallOption)
src/rpc/chat/chat_grpc.pb.go:42
MethodChat
(context.Context, *ChatRequest)
src/rpc/chat/chat_grpc.pb.go:64
MethodChat
(context.Context, *ChatRequest)
src/rpc/chat/chat_grpc.pb.go:73
MethodChatAction
(ctx context.Context, request *chat.ActionRequest)
src/services/message/handler.go:174
MethodChatAction
(ctx context.Context, in *ActionRequest, opts ...grpc.CallOption)
src/rpc/chat/chat_grpc.pb.go:51
MethodChatAction
(context.Context, *ActionRequest)
src/rpc/chat/chat_grpc.pb.go:65
MethodChatAction
(context.Context, *ActionRequest)
src/rpc/chat/chat_grpc.pb.go:76
MethodCheck
(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption)
src/rpc/health/check_grpc.pb.go:42
MethodCheck
(context.Context, *HealthCheckRequest)
src/rpc/health/check_grpc.pb.go:87
MethodCheck
(context.Context, *HealthCheckRequest)
src/rpc/health/check_grpc.pb.go:96
FunctionConnect
(serviceName string)
src/utils/grpc/connection.go:16
MethodCountComment
CountComment implements the CommentServiceImpl interface.
src/services/comment/handler.go:402
MethodCountComment
(ctx context.Context, in *CountCommentRequest, opts ...grpc.CallOption)
src/rpc/comment/comment_grpc.pb.go:62
MethodCountComment
(context.Context, *CountCommentRequest)
src/rpc/comment/comment_grpc.pb.go:77
MethodCountComment
(context.Context, *CountCommentRequest)
src/rpc/comment/comment_grpc.pb.go:91
FunctionCountCommentHandler
(c *gin.Context)
src/web/comment/handler.go:115
MethodCountFavorite
这里无法判断视频id是否存在,只有一个参数 不影响正确与否
src/services/favorite/handler.go:499
MethodCountFavorite
(ctx context.Context, in *CountFavoriteRequest, opts ...grpc.CallOption)
src/rpc/favorite/favorite_grpc.pb.go:77
MethodCountFavorite
(context.Context, *CountFavoriteRequest)
src/rpc/favorite/favorite_grpc.pb.go:111
MethodCountFavorite
(context.Context, *CountFavoriteRequest)
src/rpc/favorite/favorite_grpc.pb.go:130
FunctionCountFollowHandler
(c *gin.Context)
src/web/relation/handler.go:188
MethodCountFollowList
(ctx context.Context, request *relation.CountFollowListRequest)
src/services/relation/handler.go:433
MethodCountFollowList
(ctx context.Context, in *CountFollowListRequest, opts ...grpc.CallOption)
src/rpc/relation/relation_grpc.pb.go:81
MethodCountFollowList
(context.Context, *CountFollowListRequest)
src/rpc/relation/relation_grpc.pb.go:133
MethodCountFollowList
(context.Context, *CountFollowListRequest)
src/rpc/relation/relation_grpc.pb.go:154
FunctionCountFollowerHandler
(c *gin.Context)
src/web/relation/handler.go:256
MethodCountFollowerList
(ctx context.Context, request *relation.CountFollowerListRequest)
src/services/relation/handler.go:530
MethodCountFollowerList
(ctx context.Context, in *CountFollowerListRequest, opts ...grpc.CallOption)
src/rpc/relation/relation_grpc.pb.go:99
MethodCountFollowerList
(context.Context, *CountFollowerListRequest)
src/rpc/relation/relation_grpc.pb.go:135
MethodCountFollowerList
(context.Context, *CountFollowerListRequest)
src/rpc/relation/relation_grpc.pb.go:160
MethodCountUserFavorite
判断用户是否合法
src/services/favorite/handler.go:554
MethodCountUserFavorite
(ctx context.Context, in *CountUserFavoriteRequest, opts ...grpc.CallOption)
src/rpc/favorite/favorite_grpc.pb.go:86
MethodCountUserFavorite
(context.Context, *CountUserFavoriteRequest)
src/rpc/favorite/favorite_grpc.pb.go:112
MethodCountUserFavorite
(context.Context, *CountUserFavoriteRequest)
src/rpc/favorite/favorite_grpc.pb.go:133
MethodCountUserTotalFavorited
判断用户是否合法
src/services/favorite/handler.go:624
MethodCountUserTotalFavorited
(ctx context.Context, in *CountUserTotalFavoritedRequest, opts ...grpc.CallOption)
src/rpc/favorite/favorite_grpc.pb.go:95
MethodCountUserTotalFavorited
(context.Context, *CountUserTotalFavoritedRequest)
src/rpc/favorite/favorite_grpc.pb.go:113
MethodCountUserTotalFavorited
(context.Context, *CountUserTotalFavoritedRequest)
src/rpc/favorite/favorite_grpc.pb.go:136
MethodCountVideo
(ctx context.Context, req *publish.CountVideoRequest)
src/services/publish/handler.go:218
MethodCountVideo
(ctx context.Context, in *CountVideoRequest, opts ...grpc.CallOption)
src/rpc/publish/publish_grpc.pb.go:62
MethodCountVideo
(context.Context, *CountVideoRequest)
src/rpc/publish/publish_grpc.pb.go:77
MethodCountVideo
(context.Context, *CountVideoRequest)
src/rpc/publish/publish_grpc.pb.go:91
MethodCreateVideo
(ctx context.Context, request *publish.CreateVideoRequest)
src/services/publish/handler.go:270
MethodCreateVideo
(ctx context.Context, in *CreateVideoRequest, opts ...grpc.CallOption)
src/rpc/publish/publish_grpc.pb.go:44
MethodCreateVideo
(context.Context, *CreateVideoRequest)
src/rpc/publish/publish_grpc.pb.go:75
MethodCreateVideo
(context.Context, *CreateVideoRequest)
src/rpc/publish/publish_grpc.pb.go:85
MethodDelFeedback
(ctx context.Context, feedbackType, userId, itemId string)
src/extra/gorse/client.go:52
MethodDelFeedbackWithUserItem
(ctx context.Context, userId, itemId string)
src/extra/gorse/client.go:56
MethodDelItemCategory
(ctx context.Context, itemId string, category string)
src/extra/gorse/client.go:196
MethodDeleteItem
(ctx context.Context, itemId string)
src/extra/gorse/client.go:188
MethodDeleteUser
(ctx context.Context, userId string)
src/extra/gorse/client.go:164
MethodDescriptor
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
src/rpc/auth/auth.pb.go:60
MethodDescriptor
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
src/rpc/auth/auth.pb.go:117
MethodDescriptor
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
src/rpc/auth/auth.pb.go:186
MethodDescriptor
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
src/rpc/auth/auth.pb.go:243
MethodDescriptor
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
src/rpc/auth/auth.pb.go:311
MethodDescriptor
Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
src/rpc/auth/auth.pb.go:360
← previousnext →201–300 of 1,182, ranked by callers