MCPcopy Create free account

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

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

↓ 3 callersMethodGatewayGetUserConnection
GatewayGetUserConnection 获取用户的连接 二次开发人员不建议修改此处逻辑
common/pb/gateway_grpc.pb.go:27
↓ 3 callersMethodGatewayKeepAlive
KeepAlive 保持连接 客户端必须每隔 config.Websocket.KeepAliveSecond 秒发送一次心跳包 二次开发人员可以在这里修改逻辑,比如一致性算法安全校验等
common/pb/gateway_grpc.pb.go:47
↓ 3 callersMethodGatewayKickWs
GatewayKickWs 踢出用户的连接 二次开发人员可以在此处修改踢出用户连接的逻辑 比如踢出连接之前,先给用户发送一条消息
common/pb/gateway_grpc.pb.go:43
↓ 3 callersMethodGatewayWriteDataToWs
GatewayWriteDataToWs 向用户的连接写入数据 二次开发人员不建议修改此处逻辑
common/pb/gateway_grpc.pb.go:36
↓ 3 callersMethodGatewayWriteDataToWsWrapper
GatewayWriteDataToWsWrapper 向用户的连接写入数据 二次开发人员不建议修改此处逻辑
common/pb/gateway_grpc.pb.go:39
↓ 3 callersMethodGetCaptcha
GetCaptcha 获取图形验证码 二次开发人员可以自行实现
common/pb/third_grpc.pb.go:287
↓ 3 callersMethodGetConversationId
()
common/pb/common.pb.go:1146
↓ 3 callersMethodGetId
()
common/pb/common.pb.go:1236
↓ 3 callersMethodGetJwtUniqueKey
GetJwtUniqueKey 获取jwt唯一key 验证时会先使用token字符串获取userId 再使用userId redis> HGET token:$userId jwtUniqueKey jwtUniqueKey 一个用户允许在多么多个设备上登录 取决于 jwtUniqueKey的生成规
common/pb/xx.user.go:30
↓ 3 callersMethodGetSelfUserInfo
GetSelfUserInfo 获取自己的用户信息 获取自己的用户信息逻辑可以从这里修改
common/pb/user_grpc.pb.go:406
↓ 3 callersMethodGetUserInfo
GetUserInfo 获取用户信息 获取用户信息逻辑可以从这里修改
common/pb/user_grpc.pb.go:409
↓ 3 callersMethodGetUserModelById
GetUserModelById 获取用户模型 获取用户模型逻辑可以从这里修改
common/pb/user_grpc.pb.go:412
↓ 3 callersMethodGetUserModelByIds
GetUserModelByIds 批量获取用户模型 批量获取用户模型逻辑可以从这里修改
common/pb/user_grpc.pb.go:415
↓ 3 callersMethodGroupCreate
GroupCreate 创建群组
common/pb/conversation_grpc.pb.go:26
↓ 3 callersMethodGroupIdString
()
app/conversation/groupmodel/group.go:60
↓ 3 callersMethodGroupSubscribe
GroupSubscribe 群组订阅
common/pb/conversation_grpc.pb.go:32
↓ 3 callersMethodHashKeyConvKv
(convId string, convTyp int32)
common/xcache/rediskey.go:29
↓ 3 callersMethodInt
(length int)
common/utils/reandom.go:14
↓ 3 callersMethodKeepAlive
()
sdk/client/client.go:153
↓ 3 callersMethodListFriendApply
ListFriendApply 列出好友申请
common/pb/conversation_grpc.pb.go:270
↓ 3 callersMethodListGroupSubscribers
ListGroupSubscribers 列出群组订阅者
common/pb/conversation_grpc.pb.go:34
↓ 3 callersMethodListJoinedConversations
ListJoinedConversations 列出加入的会话
common/pb/conversation_grpc.pb.go:470
↓ 3 callersMethodListNotice
ListNotice 获取通知列表
common/pb/message_grpc.pb.go:234
↓ 3 callersMethodListSubscriptionSubscribers
ListSubscriptionSubscribers 列出订阅号订阅者
common/pb/conversation_grpc.pb.go:604
↓ 3 callersMethodMatch
(pattern string, s string)
common/utils/regex.go:10
↓ 3 callersMethodMessageBatchSend
MessageBatchSend 批量发送消息
common/pb/message_grpc.pb.go:31
↓ 3 callersMethodMessageInsert
MessageInsert 插入消息 二次开发时,需要实现该接口
common/pb/message_grpc.pb.go:27
↓ 3 callersMethodMessagePush
MessagePush 推送消息
common/pb/message_grpc.pb.go:33
↓ 3 callersMethodMessageSend
MessageSend 发送消息
common/pb/message_grpc.pb.go:29
↓ 3 callersFunctionNewFriendApplyHandleLogic
(ctx context.Context, svcCtx *svc.ServiceContext)
app/conversation/internal/logic/friendservice/friendApplyHandleLogic.go:28
↓ 3 callersFunctionNewFriendService
(cli zrpc.Client)
app/conversation/client/friendservice/friendService.go:82
↓ 3 callersFunctionNewGroupService
(cli zrpc.Client)
app/conversation/client/groupservice/groupService.go:84
↓ 3 callersFunctionNewInfoService
(cli zrpc.Client)
app/user/client/infoservice/infoService.go:81
↓ 3 callersFunctionNewMessageService
(cli zrpc.Client)
app/message/client/messageservice/messageService.go:55
↓ 3 callersFunctionNewNoticeService
(cli zrpc.Client)
app/message/client/noticeservice/noticeService.go:53
↓ 3 callersFunctionNewNoticeServiceClient
(cc grpc.ClientConnInterface)
common/pb/message_grpc.pb.go:241
↓ 3 callersFunctionNewSubscriptionService
(cli zrpc.Client)
app/conversation/client/subscriptionservice/subscriptionService.go:86
↓ 3 callersMethodNoticeBatchSend
NoticeBatchSend 通知批量发送
common/pb/message_grpc.pb.go:232
↓ 3 callersMethodNoticeSend
NoticeSend 通知发送
common/pb/message_grpc.pb.go:230
↓ 3 callersMethodRefreshUserAccessToken
RefreshUserAccessToken 刷新用户token 刷新逻辑可以从这里修改
common/pb/user_grpc.pb.go:36
↓ 3 callersMethodRegisterHandler
(topic Topic, handler HandlerFunc)
common/xmq/types.go:29
↓ 3 callersMethodResetUserAccountMap
ResetUserAccountMap 重置用户账号信息 重置账号信息逻辑可以从这里修改
common/pb/user_grpc.pb.go:45
↓ 3 callersMethodRevokeUserAccessToken
RevokeUserAccessToken 注销用户token 注销逻辑可以从这里修改
common/pb/user_grpc.pb.go:39
↓ 3 callersMethodSmsCodeSend
SmsCodeSend 发送短信 二次开发人员可以自行实现
common/pb/third_grpc.pb.go:27
↓ 3 callersMethodSmsCodeVerify
SmsCodeVerify 验证短信 二次开发人员可以自行实现
common/pb/third_grpc.pb.go:30
↓ 3 callersMethodSubscriptionAfterOffline
SubscriptionAfterOffline 订阅号在做用户下线后的操作
common/pb/conversation_grpc.pb.go:598
↓ 3 callersMethodSubscriptionAfterOnline
SubscriptionAfterOnline 订阅号在做用户上线后的操作
common/pb/conversation_grpc.pb.go:596
↓ 3 callersMethodSubscriptionSubscribe
SubscriptionSubscribe 订阅号订阅
common/pb/conversation_grpc.pb.go:594
↓ 3 callersMethodToPb
()
app/message/messagemodel/message.go:105
↓ 3 callersMethodUpdateUserAccountMap
UpdateUserAccountMap 更新用户账号信息 更新账号信息逻辑可以从这里修改 默认:如果是修改密码,需要旧密码或手机验证码。如果修改绑定手机号,需要验证新手机号的验证码
common/pb/user_grpc.pb.go:42
↓ 3 callersMethodUpdateUserCountMap
UpdateUserCountMap 更新用户计数信息
app/user/client/infoservice/infoService.go:65
↓ 3 callersMethodUpdateUserCountMap
UpdateUserCountMap 更新用户计数信息 更新计数信息逻辑可以从这里修改
common/pb/user_grpc.pb.go:403
↓ 3 callersMethodUpdateUserExtraMap
UpdateUserExtraMap 更新用户扩展信息 更新扩展信息逻辑可以从这里修改
common/pb/user_grpc.pb.go:400
↓ 3 callersMethodUpdateUserProfileMap
UpdateUserProfileMap 更新用户个人信息 更新个人信息逻辑可以从这里修改
common/pb/user_grpc.pb.go:397
↓ 3 callersMethodUpsertUserSubscription
UpsertUserSubscription 更新用户订阅的订阅号
common/pb/conversation_grpc.pb.go:600
↓ 3 callersMethodUserAfterKeepAlive
UserAfterKeepAlive 用户保活回调 用户保活回调逻辑可以从这里修改
common/pb/user_grpc.pb.go:739
↓ 3 callersMethodUserAfterOffline
UserAfterOffline 用户下线回调
app/user/client/callbackservice/callbackService.go:63
↓ 3 callersMethodUserAfterOffline
UserAfterOffline 用户下线回调 用户下线回调逻辑可以从这里修改
common/pb/user_grpc.pb.go:730
↓ 3 callersMethodUserAfterOnline
UserAfterOnline 用户上线回调 用户上线回调逻辑可以从这里修改
common/pb/user_grpc.pb.go:727
↓ 3 callersMethodUserBeforeConnect
UserBeforeConnect 用户连接前的回调 用户连接前的回调逻辑可以从这里修改
common/pb/user_grpc.pb.go:733
↓ 3 callersMethodUserBeforeRequest
UserBeforeRequest 用户请求前的回调 用户请求前的回调逻辑可以从这里修改
common/pb/user_grpc.pb.go:736
↓ 3 callersMethodUserDestroy
UserDestroy 用户注销 注销逻辑可以从这里修改
common/pb/user_grpc.pb.go:30
↓ 3 callersMethodVerifyConnection
VerifyConnection 验证连接 客户端拿着自己的公钥,请求网关,网关返回自己的公钥
common/pb/gateway_grpc.pb.go:50
↓ 3 callersMethodVerifyPwd
(input, db string, salt string)
common/utils/pwd.go:19
↓ 3 callersMethodWorldPostSubmit
WorldPostSubmit 世界圈帖子发布
common/pb/world_grpc.pb.go:26
↓ 3 callersMethodpushMessageToUserIds
(in *pb.MessagePushReq, message *pb.Message, userIds []string)
app/message/internal/logic/messageservice/messagePushLogic.go:97
↓ 3 callersFunctionsleep
(reconnectCount *int)
app/gateway/internal/server/rtcServer.go:149
↓ 2 callersMethodAreFriends
(fromUserId string, toUserId string)
app/conversation/internal/logic/friendservice/friendApplyHandleLogic.go:243
↓ 2 callersFunctionBatchInsertMany
BatchInsertMany 批量插入 防止一次插入太多数据 mongodb限制一次插入的数据量
common/xmgo/utils.go:31
↓ 2 callersMethodCaptchaVerify
CaptchaVerify 验证图形验证码
app/third/client/captchaservice/captchaService.go:33
↓ 2 callersMethodDescriptor
Deprecated: Use UserDestroyReq.ProtoReflect.Descriptor instead.
common/pb/user.pb.go:319
↓ 2 callersMethodDescriptor
Deprecated: Use GroupCreateReq.ProtoReflect.Descriptor instead.
common/pb/conversation.pb.go:165
↓ 2 callersMethodEmailCodeVerify
EmailCodeVerify 验证邮件
app/third/client/emailservice/emailService.go:33
↓ 2 callersMethodFirstUtf8
FirstUtf8 获取字符串的第一个utf8字符,如果字符串为空,则返回” 如果字符串不是ascii编码,则返回第一个utf8字符,如果是ascii编码,则返回第一个字符
common/utils/string.go:10
↓ 2 callersMethodFloat64ToString
(f float64)
common/utils/number.go:14
↓ 2 callersMethodGenerateGroupId
()
app/conversation/groupmodel/group.go:98
↓ 2 callersMethodGeneratePwd
(original string, salt string)
common/utils/pwd.go:14
↓ 2 callersMethodGetClientIP
(r *http.Request)
common/utils/http.go:14
↓ 2 callersMethodGetCode
()
common/pb/common.pb.go:911
↓ 2 callersMethodGetCountMap
()
app/user/usermodel/user.go:93
↓ 2 callersFunctionGetECDHSecret
GetECDHSecret 使用自己的私钥和别人的公钥(hex),协商密钥
common/utils/ecdh.go:124
↓ 2 callersMethodGetSettingList
()
common/pb/conversation.pb.go:2530
↓ 2 callersFunctionGetSingleChatConversationId
(id1 string, id2 string)
common/pb/xx.message.go:12
↓ 2 callersMethodGetStorageForServer
()
common/pb/common.pb.go:1312
↓ 2 callersMethodGetWithUserSettings
()
common/pb/user.pb.go:2559
↓ 2 callersMethodHashKeyConvMinSeq
(userId string)
common/xcache/rediskey.go:33
↓ 2 callersMethodHexEncodePrivateKeyToString
HexEncodePrivateKeyToString 将私钥转换为hex字符串
common/utils/ecdh.go:26
↓ 2 callersMethodHexEncodePublicKeyToString
HexEncodePublicKeyToString 将公钥钥转换为hex字符串
common/utils/ecdh.go:24
↓ 2 callersMethodInfo
(args ...interface{})
common/xmq/asynq.go:27
↓ 2 callersMethodIsFriendLimit
(fromUserId string, toUserId string)
app/conversation/internal/logic/friendservice/friendApplyHandleLogic.go:258
↓ 2 callersMethodIsFriendLimit_
(userId string)
app/conversation/internal/logic/friendservice/friendApplyHandleLogic.go:276
↓ 2 callersMethodListFriendApply
(req *pb.ListFriendApplyReq)
sdk/client/client.go:36
↓ 2 callersMethodListGroupSubscribers
ListGroupSubscribers 列出群组订阅者
app/conversation/client/groupservice/groupService.go:76
↓ 2 callersMethodListJoinedConversations
ListJoinedConversations 列出加入的会话
app/conversation/client/conversationservice/conversationService.go:70
↓ 2 callersMethodListSubscriptionSubscribers
ListSubscriptionSubscribers 列出订阅号订阅者
app/conversation/client/subscriptionservice/subscriptionService.go:78
↓ 2 callersMethodLockKeyUserEmail
(email string)
common/xcache/rediskey.go:25
↓ 2 callersMethodLockKeyUserPhone
(phone string, phoneCode string)
common/xcache/rediskey.go:21
↓ 2 callersMethodLockKeyUserUsername
(username string)
common/xcache/rediskey.go:17
↓ 2 callersFunctionMarshalResponse
(data proto.Message)
app/gateway/internal/types/response.go:8
↓ 2 callersMethodMessageBatchSend
(req *pb.MessageBatchSendReq)
sdk/client/client.go:43
← previousnext →101–200 of 2,430, ranked by callers