MCPcopy Create free account
hub / github.com/daodst/chat / QueryMembershipForUser

Method QueryMembershipForUser

roomserver/api/api_trace.go:175–183  ·  view source on GitHub ↗
(
	ctx context.Context,
	req *QueryMembershipForUserRequest,
	res *QueryMembershipForUserResponse,
)

Source from the content-addressed store, hash-verified

173}
174
175func (t *RoomserverInternalAPITrace) QueryMembershipForUser(
176 ctx context.Context,
177 req *QueryMembershipForUserRequest,
178 res *QueryMembershipForUserResponse,
179) error {
180 err := t.Impl.QueryMembershipForUser(ctx, req, res)
181 util.GetLogger(ctx).WithError(err).Infof("QueryMembershipForUser req=%+v res=%+v", js(req), js(res))
182 return err
183}
184
185func (t *RoomserverInternalAPITrace) QueryMembershipsForRoom(
186 ctx context.Context,

Callers

nothing calls this directly

Calls 3

InfofMethod · 0.80
jsFunction · 0.70

Tested by

no test coverage detected