MCPcopy Create free account

hub / github.com/cherish-chat/xxim-server / functions

Functions2,430 in github.com/cherish-chat/xxim-server

↓ 2 callersMethodMessageInsert
MessageInsert 插入消息
app/message/internal/logic/messageservice/messageInsertLogic.go:144
↓ 2 callersMethodMessageSend
MessageSend 发送消息
app/message/client/messageservice/messageService.go:43
↓ 2 callersFunctionNewAccountService
(cli zrpc.Client)
app/user/client/accountservice/accountService.go:83
↓ 2 callersFunctionNewAsynq
( redisConf redis.RedisConf, db int, logLevel string, // options=[debug,info,error,severe] )
common/xmq/asynq.go:44
↓ 2 callersFunctionNewCallbackService
(cli zrpc.Client)
app/user/client/callbackservice/callbackService.go:77
↓ 2 callersFunctionNewCaptchaServiceClient
(cc grpc.ClientConnInterface)
common/pb/third_grpc.pb.go:297
↓ 2 callersFunctionNewConversationServiceClient
(cc grpc.ClientConnInterface)
common/pb/conversation_grpc.pb.go:477
↓ 2 callersFunctionNewEmailServiceClient
(cc grpc.ClientConnInterface)
common/pb/third_grpc.pb.go:167
↓ 2 callersFunctionNewGatewayService
(cli zrpc.Client)
app/gateway/client/gatewayservice/gatewayService.go:65
↓ 2 callersFunctionNewHttpClient
(config *Config)
sdk/client/client.go:52
↓ 2 callersMethodNewRequest
()
app/gateway/internal/handler/route.go:60
↓ 2 callersFunctionNewSmsServiceClient
(cc grpc.ClientConnInterface)
common/pb/third_grpc.pb.go:37
↓ 2 callersMethodNow13
()
common/utils/time.go:10
↓ 2 callersMethodOnDisconnect
(conn *Connection)
app/gateway/internal/logic/gatewayservice/x_connection.go:214
↓ 2 callersMethodSetHeader
response
common/pb/xx.implement.go:81
↓ 2 callersMethodSetHeader
(header *ResponseHeader)
common/pb/xx.implement.go:85
↓ 2 callersMethodSmsCodeVerify
SmsCodeVerify 验证短信
app/third/client/smsservice/smsService.go:33
↓ 2 callersMethodStart
()
app/user/internal/server/consumerServer.go:18
↓ 2 callersMethodStart
()
app/message/internal/server/consumerServer.go:19
↓ 2 callersMethodStartConsuming
()
common/xmq/types.go:30
↓ 2 callersMethodUpsertUserSubscription
UpsertUserSubscription 更新用户订阅的订阅号
app/conversation/client/subscriptionservice/subscriptionService.go:74
↓ 2 callersMethodUserAfterOnline
UserAfterOnline 用户上线回调
app/user/client/callbackservice/callbackService.go:61
↓ 2 callersMethodUserBeforeConnect
UserBeforeConnect 用户连接前的回调
app/user/client/callbackservice/callbackService.go:65
↓ 2 callersMethodUtf8Split
(s string, length int)
common/utils/string.go:23
↓ 2 callersFunctionfile_world_proto_rawDescGZIP
()
common/pb/world.pb.go:144
↓ 2 callersFunctiongenerateMessageToFriend
( sender *pb.Message_Sender, friendId string, text string, extraMap map[string]string)
sdk/client/message_test.go:68
↓ 2 callersMethodreturnResponse
(ctx context.Context, connection *gatewayservicelogic.Connection, code pb.ResponseCode, response []byte, err e
app/gateway/internal/handler/offerhandler.go:128
↓ 2 callersMethodverifyApplyExist_
(in *pb.FriendApplyReq, fromUser *usermodel.User, toUser *usermodel.User)
app/conversation/internal/logic/friendservice/friendApplyLogic.go:353
↓ 1 callersMethodAfterRegister
AfterRegister TODO: 补充注册后的逻辑
app/user/internal/logic/callbackservice/userAfterRegisterLogic.go:20
↓ 1 callersFunctionApiLog
(svcCtx *svc.ServiceContext)
app/gateway/internal/middleware/apilog.go:16
↓ 1 callersMethodAuthenticationConnection
AuthenticationConnection 验证连接
app/gateway/internal/logic/gatewayservice/authenticationConnectionLogic.go:28
↓ 1 callersMethodAuthenticationConnection_
(connection *Connection, in *pb.AuthenticationConnectionReq)
app/gateway/internal/logic/gatewayservice/authenticationConnectionLogic.go:34
↓ 1 callersFunctionBroadcastNoticeFromPb
(in *pb.Notice)
app/message/noticemodel/broadcastnotice.go:52
↓ 1 callersMethodCaptchaVerify
CaptchaVerify 验证图形验证码
app/third/internal/logic/captchaservice/captchaVerifyLogic.go:27
↓ 1 callersMethodConsumeMessage
ConsumeMessage 消费消息
app/message/internal/logic/messageservice/messageInsertLogic.go:159
↓ 1 callersMethodConversationSettingUpdate
ConversationSettingUpdate 更新会话设置
app/conversation/internal/logic/conversationservice/conversationSettingUpdateLogic.go:27
↓ 1 callersFunctionCors
(svcCtx *svc.ServiceContext)
app/gateway/internal/middleware/cors.go:11
↓ 1 callersMethodCountCreateGroup
CountCreateGroup 统计创建的群组数量
app/conversation/client/groupservice/groupService.go:72
↓ 1 callersMethodCountCreateGroup
CountCreateGroup 统计创建的群组数量
app/conversation/internal/logic/groupservice/countCreateGroupLogic.go:27
↓ 1 callersMethodCountFriend
CountFriend 统计好友数量
app/conversation/client/friendservice/friendService.go:74
↓ 1 callersMethodCountFriend
CountFriend 统计好友数量
app/conversation/internal/logic/friendservice/countFriendLogic.go:28
↓ 1 callersMethodCountJoinGroup
CountJoinGroup 统计加入的群组数量
app/conversation/client/groupservice/groupService.go:70
↓ 1 callersMethodCountJoinGroup
CountJoinGroup 统计加入的群组数量
app/conversation/internal/logic/groupservice/countJoinGroupLogic.go:27
↓ 1 callersFunctionCreateIndex
(ctx context.Context, qmgoClient *qmgo.QmgoClient, indexer Indexer)
common/xmgo/mongo.go:68
↓ 1 callersMethodCreateRobot
CreateRobot 创建机器人
app/user/internal/logic/accountservice/createRobotLogic.go:32
↓ 1 callersMethodCreateRobot
(req *pb.CreateRobotReq)
sdk/client/client.go:31
↓ 1 callersMethodDeepUnwrap
(err error)
common/utils/error.go:10
↓ 1 callersMethodDeleteUserSubscription
DeleteUserSubscription 删除用户订阅的订阅号
app/conversation/internal/logic/subscriptionservice/deleteUserSubscriptionLogic.go:27
↓ 1 callersMethodDescriptor
()
common/pb/gateway.pb.go:59
↓ 1 callersMethodDescriptor
Deprecated: Use LongConnection.ProtoReflect.Descriptor instead.
common/pb/gateway.pb.go:335
↓ 1 callersMethodDescriptor
()
common/pb/user.pb.go:55
↓ 1 callersMethodDescriptor
()
common/pb/user.pb.go:104
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:71
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:133
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:186
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:263
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:316
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:369
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:442
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:507
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:556
↓ 1 callersMethodDescriptor
()
common/pb/common.pb.go:602
↓ 1 callersMethodDescriptor
()
common/pb/conversation.pb.go:59
↓ 1 callersMethodDescriptor
()
common/pb/conversation.pb.go:107
↓ 1 callersMethodDescriptor
()
common/pb/message.pb.go:58
↓ 1 callersMethodDescriptor
Deprecated: Use NoticeSendReq.ProtoReflect.Descriptor instead.
common/pb/message.pb.go:746
↓ 1 callersMethodDownload
(url string)
common/utils/file.go:129
↓ 1 callersMethodEmailCodeSend
EmailCodeSend 发送邮件
app/third/internal/logic/emailservice/emailCodeSendLogic.go:27
↓ 1 callersMethodEmailCodeVerify
EmailCodeVerify 验证邮件
app/third/internal/logic/emailservice/emailCodeVerifyLogic.go:27
↓ 1 callersFunctionErrIsDup
ErrIsDup 判断mongo error是不是唯一索引冲突
common/xmgo/utils.go:11
↓ 1 callersMethodFilenameFromUrl
(uri string)
common/utils/file.go:140
↓ 1 callersMethodFindByK
(k string)
sdk/store/config.go:16
↓ 1 callersMethodFriendApply
FriendApply 添加好友
app/conversation/internal/logic/friendservice/friendApplyLogic.go:38
↓ 1 callersMethodFriendApply
(req *pb.FriendApplyReq)
sdk/client/client.go:35
↓ 1 callersMethodFriendApplyHandle
FriendApplyHandle 处理好友申请
app/conversation/internal/logic/friendservice/friendApplyHandleLogic.go:37
↓ 1 callersMethodFriendApplyHandle
(req *pb.FriendApplyHandleReq)
sdk/client/client.go:37
↓ 1 callersMethodGatewayBatchGetUserConnection
GatewayBatchGetUserConnection 获取用户的连接 二次开发人员建议不修改此处逻辑
app/gateway/internal/logic/gatewayservice/gatewayBatchGetUserConnectionLogic.go:28
↓ 1 callersMethodGatewayBatchGetUserConnection
(req *pb.GatewayBatchGetUserConnectionReq)
sdk/client/client.go:26
↓ 1 callersMethodGatewayGetConnectionByFilter
GatewayGetConnectionByFilter 通过条件获取用户的连接 二次开发人员可以增加过滤条件
app/gateway/internal/logic/gatewayservice/gatewayGetConnectionByFilterLogic.go:28
↓ 1 callersMethodGatewayGetConnectionByFilter
(req *pb.GatewayGetConnectionByFilterReq)
sdk/client/client.go:27
↓ 1 callersMethodGatewayGetUserConnection
GatewayGetUserConnection 获取用户的连接 二次开发人员不建议修改此处逻辑
app/gateway/internal/logic/gatewayservice/gatewayGetUserConnectionLogic.go:28
↓ 1 callersMethodGatewayGetUserConnection
(req *pb.GatewayGetUserConnectionReq)
sdk/client/client.go:25
↓ 1 callersMethodGatewayKeepAlive
(in *pb.GatewayKeepAliveReq)
app/gateway/internal/logic/gatewayservice/gatewayKeepAliveLogic.go:33
↓ 1 callersMethodGatewayKickWs
GatewayKickWs 踢出用户的连接 二次开发人员可以在此处修改踢出用户连接的逻辑 比如踢出连接之前,先给用户发送一条消息
app/gateway/internal/logic/gatewayservice/gatewayKickWsLogic.go:28
↓ 1 callersMethodGatewayKickWs
(req *pb.GatewayKickWsReq)
sdk/client/client.go:29
↓ 1 callersMethodGatewayWriteDataToWs
GatewayWriteDataToWs 向用户的连接写入数据
app/gateway/client/gatewayservice/gatewayService.go:47
↓ 1 callersMethodGatewayWriteDataToWs
GatewayWriteDataToWs 向用户的连接写入数据 二次开发人员不建议修改此处逻辑
app/gateway/internal/logic/gatewayservice/gatewayWriteDataToWsLogic.go:28
↓ 1 callersMethodGatewayWriteDataToWsWrapper
GatewayWriteDataToWsWrapper 向用户的连接写入数据
app/gateway/internal/logic/gatewayservice/gatewayWriteDataToWsWrapperLogic.go:28
↓ 1 callersMethodGenerateMessageId
()
app/message/messagemodel/message.go:137
↓ 1 callersMethodGenerateToken
( userId string, uniqueKey string, status int, extra string, scope []string, )
common/utils/jwt.go:50
↓ 1 callersMethodGetAllConnections
()
app/gateway/internal/logic/gatewayservice/x_connection.go:146
↓ 1 callersMethodGetAvatar
()
common/pb/user.pb.go:2198
↓ 1 callersMethodGetBody
()
common/pb/gateway.pb.go:141
↓ 1 callersMethodGetCaptcha
GetCaptcha 获取图形验证码
app/third/internal/logic/captchaservice/getCaptchaLogic.go:27
↓ 1 callersMethodGetClientIp
(sd *sdp.SessionDescription)
common/utils/sdp.go:10
↓ 1 callersMethodGetConversationType
()
common/pb/common.pb.go:1153
↓ 1 callersMethodGetCountUnread
()
common/pb/common.pb.go:1333
↓ 1 callersMethodGetExt
(filename string)
common/utils/file.go:125
↓ 1 callersMethodGetExtra
()
common/pb/common.pb.go:724
↓ 1 callersMethodGetExtraMap
()
common/pb/common.pb.go:1078
← previousnext →201–300 of 2,430, ranked by callers