MCPcopy
hub / github.com/openimsdk/open-im-server / webhookAfterUserRegister

Method webhookAfterUserRegister

internal/rpc/user/callback.go:108–115  ·  view source on GitHub ↗
(ctx context.Context, after *config.AfterConfig, req *pbuser.UserRegisterReq)

Source from the content-addressed store, hash-verified

106}
107
108func (s *userServer) webhookAfterUserRegister(ctx context.Context, after *config.AfterConfig, req *pbuser.UserRegisterReq) {
109 cbReq := &cbapi.CallbackAfterUserRegisterReq{
110 CallbackCommand: cbapi.CallbackAfterUserRegisterCommand,
111 Users: req.Users,
112 }
113
114 s.webhookClient.AsyncPost(ctx, cbReq.GetCallbackCommand(), cbReq, &cbapi.CallbackAfterUserRegisterResp{}, after)
115}

Callers 1

UserRegisterMethod · 0.95

Calls 2

AsyncPostMethod · 0.80
GetCallbackCommandMethod · 0.65

Tested by

no test coverage detected