Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cherish-chat/xxim-server
/ functions
Functions
2,430 in github.com/cherish-chat/xxim-server
⨍
Functions
2,430
◇
Types & classes
474
↓ 2 callers
Method
MessageInsert
MessageInsert 插入消息
app/message/internal/logic/messageservice/messageInsertLogic.go:144
↓ 2 callers
Method
MessageSend
MessageSend 发送消息
app/message/client/messageservice/messageService.go:43
↓ 2 callers
Function
NewAccountService
(cli zrpc.Client)
app/user/client/accountservice/accountService.go:83
↓ 2 callers
Function
NewAsynq
( redisConf redis.RedisConf, db int, logLevel string, // options=[debug,info,error,severe] )
common/xmq/asynq.go:44
↓ 2 callers
Function
NewCallbackService
(cli zrpc.Client)
app/user/client/callbackservice/callbackService.go:77
↓ 2 callers
Function
NewCaptchaServiceClient
(cc grpc.ClientConnInterface)
common/pb/third_grpc.pb.go:297
↓ 2 callers
Function
NewConversationServiceClient
(cc grpc.ClientConnInterface)
common/pb/conversation_grpc.pb.go:477
↓ 2 callers
Function
NewEmailServiceClient
(cc grpc.ClientConnInterface)
common/pb/third_grpc.pb.go:167
↓ 2 callers
Function
NewGatewayService
(cli zrpc.Client)
app/gateway/client/gatewayservice/gatewayService.go:65
↓ 2 callers
Function
NewHttpClient
(config *Config)
sdk/client/client.go:52
↓ 2 callers
Method
NewRequest
()
app/gateway/internal/handler/route.go:60
↓ 2 callers
Function
NewSmsServiceClient
(cc grpc.ClientConnInterface)
common/pb/third_grpc.pb.go:37
↓ 2 callers
Method
Now13
()
common/utils/time.go:10
↓ 2 callers
Method
OnDisconnect
(conn *Connection)
app/gateway/internal/logic/gatewayservice/x_connection.go:214
↓ 2 callers
Method
SetHeader
response
common/pb/xx.implement.go:81
↓ 2 callers
Method
SetHeader
(header *ResponseHeader)
common/pb/xx.implement.go:85
↓ 2 callers
Method
SmsCodeVerify
SmsCodeVerify 验证短信
app/third/client/smsservice/smsService.go:33
↓ 2 callers
Method
Start
()
app/user/internal/server/consumerServer.go:18
↓ 2 callers
Method
Start
()
app/message/internal/server/consumerServer.go:19
↓ 2 callers
Method
StartConsuming
()
common/xmq/types.go:30
↓ 2 callers
Method
UpsertUserSubscription
UpsertUserSubscription 更新用户订阅的订阅号
app/conversation/client/subscriptionservice/subscriptionService.go:74
↓ 2 callers
Method
UserAfterOnline
UserAfterOnline 用户上线回调
app/user/client/callbackservice/callbackService.go:61
↓ 2 callers
Method
UserBeforeConnect
UserBeforeConnect 用户连接前的回调
app/user/client/callbackservice/callbackService.go:65
↓ 2 callers
Method
Utf8Split
(s string, length int)
common/utils/string.go:23
↓ 2 callers
Function
file_world_proto_rawDescGZIP
()
common/pb/world.pb.go:144
↓ 2 callers
Function
generateMessageToFriend
( sender *pb.Message_Sender, friendId string, text string, extraMap map[string]string)
sdk/client/message_test.go:68
↓ 2 callers
Method
returnResponse
(ctx context.Context, connection *gatewayservicelogic.Connection, code pb.ResponseCode, response []byte, err e
app/gateway/internal/handler/offerhandler.go:128
↓ 2 callers
Method
verifyApplyExist_
(in *pb.FriendApplyReq, fromUser *usermodel.User, toUser *usermodel.User)
app/conversation/internal/logic/friendservice/friendApplyLogic.go:353
↓ 1 callers
Method
AfterRegister
AfterRegister TODO: 补充注册后的逻辑
app/user/internal/logic/callbackservice/userAfterRegisterLogic.go:20
↓ 1 callers
Function
ApiLog
(svcCtx *svc.ServiceContext)
app/gateway/internal/middleware/apilog.go:16
↓ 1 callers
Method
AuthenticationConnection
AuthenticationConnection 验证连接
app/gateway/internal/logic/gatewayservice/authenticationConnectionLogic.go:28
↓ 1 callers
Method
AuthenticationConnection_
(connection *Connection, in *pb.AuthenticationConnectionReq)
app/gateway/internal/logic/gatewayservice/authenticationConnectionLogic.go:34
↓ 1 callers
Function
BroadcastNoticeFromPb
(in *pb.Notice)
app/message/noticemodel/broadcastnotice.go:52
↓ 1 callers
Method
CaptchaVerify
CaptchaVerify 验证图形验证码
app/third/internal/logic/captchaservice/captchaVerifyLogic.go:27
↓ 1 callers
Method
ConsumeMessage
ConsumeMessage 消费消息
app/message/internal/logic/messageservice/messageInsertLogic.go:159
↓ 1 callers
Method
ConversationSettingUpdate
ConversationSettingUpdate 更新会话设置
app/conversation/internal/logic/conversationservice/conversationSettingUpdateLogic.go:27
↓ 1 callers
Function
Cors
(svcCtx *svc.ServiceContext)
app/gateway/internal/middleware/cors.go:11
↓ 1 callers
Method
CountCreateGroup
CountCreateGroup 统计创建的群组数量
app/conversation/client/groupservice/groupService.go:72
↓ 1 callers
Method
CountCreateGroup
CountCreateGroup 统计创建的群组数量
app/conversation/internal/logic/groupservice/countCreateGroupLogic.go:27
↓ 1 callers
Method
CountFriend
CountFriend 统计好友数量
app/conversation/client/friendservice/friendService.go:74
↓ 1 callers
Method
CountFriend
CountFriend 统计好友数量
app/conversation/internal/logic/friendservice/countFriendLogic.go:28
↓ 1 callers
Method
CountJoinGroup
CountJoinGroup 统计加入的群组数量
app/conversation/client/groupservice/groupService.go:70
↓ 1 callers
Method
CountJoinGroup
CountJoinGroup 统计加入的群组数量
app/conversation/internal/logic/groupservice/countJoinGroupLogic.go:27
↓ 1 callers
Function
CreateIndex
(ctx context.Context, qmgoClient *qmgo.QmgoClient, indexer Indexer)
common/xmgo/mongo.go:68
↓ 1 callers
Method
CreateRobot
CreateRobot 创建机器人
app/user/internal/logic/accountservice/createRobotLogic.go:32
↓ 1 callers
Method
CreateRobot
(req *pb.CreateRobotReq)
sdk/client/client.go:31
↓ 1 callers
Method
DeepUnwrap
(err error)
common/utils/error.go:10
↓ 1 callers
Method
DeleteUserSubscription
DeleteUserSubscription 删除用户订阅的订阅号
app/conversation/internal/logic/subscriptionservice/deleteUserSubscriptionLogic.go:27
↓ 1 callers
Method
Descriptor
()
common/pb/gateway.pb.go:59
↓ 1 callers
Method
Descriptor
Deprecated: Use LongConnection.ProtoReflect.Descriptor instead.
common/pb/gateway.pb.go:335
↓ 1 callers
Method
Descriptor
()
common/pb/user.pb.go:55
↓ 1 callers
Method
Descriptor
()
common/pb/user.pb.go:104
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:71
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:133
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:186
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:263
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:316
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:369
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:442
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:507
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:556
↓ 1 callers
Method
Descriptor
()
common/pb/common.pb.go:602
↓ 1 callers
Method
Descriptor
()
common/pb/conversation.pb.go:59
↓ 1 callers
Method
Descriptor
()
common/pb/conversation.pb.go:107
↓ 1 callers
Method
Descriptor
()
common/pb/message.pb.go:58
↓ 1 callers
Method
Descriptor
Deprecated: Use NoticeSendReq.ProtoReflect.Descriptor instead.
common/pb/message.pb.go:746
↓ 1 callers
Method
Download
(url string)
common/utils/file.go:129
↓ 1 callers
Method
EmailCodeSend
EmailCodeSend 发送邮件
app/third/internal/logic/emailservice/emailCodeSendLogic.go:27
↓ 1 callers
Method
EmailCodeVerify
EmailCodeVerify 验证邮件
app/third/internal/logic/emailservice/emailCodeVerifyLogic.go:27
↓ 1 callers
Function
ErrIsDup
ErrIsDup 判断mongo error是不是唯一索引冲突
common/xmgo/utils.go:11
↓ 1 callers
Method
FilenameFromUrl
(uri string)
common/utils/file.go:140
↓ 1 callers
Method
FindByK
(k string)
sdk/store/config.go:16
↓ 1 callers
Method
FriendApply
FriendApply 添加好友
app/conversation/internal/logic/friendservice/friendApplyLogic.go:38
↓ 1 callers
Method
FriendApply
(req *pb.FriendApplyReq)
sdk/client/client.go:35
↓ 1 callers
Method
FriendApplyHandle
FriendApplyHandle 处理好友申请
app/conversation/internal/logic/friendservice/friendApplyHandleLogic.go:37
↓ 1 callers
Method
FriendApplyHandle
(req *pb.FriendApplyHandleReq)
sdk/client/client.go:37
↓ 1 callers
Method
GatewayBatchGetUserConnection
GatewayBatchGetUserConnection 获取用户的连接 二次开发人员建议不修改此处逻辑
app/gateway/internal/logic/gatewayservice/gatewayBatchGetUserConnectionLogic.go:28
↓ 1 callers
Method
GatewayBatchGetUserConnection
(req *pb.GatewayBatchGetUserConnectionReq)
sdk/client/client.go:26
↓ 1 callers
Method
GatewayGetConnectionByFilter
GatewayGetConnectionByFilter 通过条件获取用户的连接 二次开发人员可以增加过滤条件
app/gateway/internal/logic/gatewayservice/gatewayGetConnectionByFilterLogic.go:28
↓ 1 callers
Method
GatewayGetConnectionByFilter
(req *pb.GatewayGetConnectionByFilterReq)
sdk/client/client.go:27
↓ 1 callers
Method
GatewayGetUserConnection
GatewayGetUserConnection 获取用户的连接 二次开发人员不建议修改此处逻辑
app/gateway/internal/logic/gatewayservice/gatewayGetUserConnectionLogic.go:28
↓ 1 callers
Method
GatewayGetUserConnection
(req *pb.GatewayGetUserConnectionReq)
sdk/client/client.go:25
↓ 1 callers
Method
GatewayKeepAlive
(in *pb.GatewayKeepAliveReq)
app/gateway/internal/logic/gatewayservice/gatewayKeepAliveLogic.go:33
↓ 1 callers
Method
GatewayKickWs
GatewayKickWs 踢出用户的连接 二次开发人员可以在此处修改踢出用户连接的逻辑 比如踢出连接之前,先给用户发送一条消息
app/gateway/internal/logic/gatewayservice/gatewayKickWsLogic.go:28
↓ 1 callers
Method
GatewayKickWs
(req *pb.GatewayKickWsReq)
sdk/client/client.go:29
↓ 1 callers
Method
GatewayWriteDataToWs
GatewayWriteDataToWs 向用户的连接写入数据
app/gateway/client/gatewayservice/gatewayService.go:47
↓ 1 callers
Method
GatewayWriteDataToWs
GatewayWriteDataToWs 向用户的连接写入数据 二次开发人员不建议修改此处逻辑
app/gateway/internal/logic/gatewayservice/gatewayWriteDataToWsLogic.go:28
↓ 1 callers
Method
GatewayWriteDataToWsWrapper
GatewayWriteDataToWsWrapper 向用户的连接写入数据
app/gateway/internal/logic/gatewayservice/gatewayWriteDataToWsWrapperLogic.go:28
↓ 1 callers
Method
GenerateMessageId
()
app/message/messagemodel/message.go:137
↓ 1 callers
Method
GenerateToken
( userId string, uniqueKey string, status int, extra string, scope []string, )
common/utils/jwt.go:50
↓ 1 callers
Method
GetAllConnections
()
app/gateway/internal/logic/gatewayservice/x_connection.go:146
↓ 1 callers
Method
GetAvatar
()
common/pb/user.pb.go:2198
↓ 1 callers
Method
GetBody
()
common/pb/gateway.pb.go:141
↓ 1 callers
Method
GetCaptcha
GetCaptcha 获取图形验证码
app/third/internal/logic/captchaservice/getCaptchaLogic.go:27
↓ 1 callers
Method
GetClientIp
(sd *sdp.SessionDescription)
common/utils/sdp.go:10
↓ 1 callers
Method
GetConversationType
()
common/pb/common.pb.go:1153
↓ 1 callers
Method
GetCountUnread
()
common/pb/common.pb.go:1333
↓ 1 callers
Method
GetExt
(filename string)
common/utils/file.go:125
↓ 1 callers
Method
GetExtra
()
common/pb/common.pb.go:724
↓ 1 callers
Method
GetExtraMap
()
common/pb/common.pb.go:1078
← previous
next →
201–300 of 2,430, ranked by callers