MCPcopy Index your code
hub / github.com/apache/answer / SetUserStatus

Method SetUserStatus

internal/service/auth/auth.go:115–117  ·  view source on GitHub ↗
(ctx context.Context, userInfo *entity.UserCacheInfo)

Source from the content-addressed store, hash-verified

113}
114
115func (as *AuthService) SetUserStatus(ctx context.Context, userInfo *entity.UserCacheInfo) (err error) {
116 return as.authRepo.SetUserStatus(ctx, userInfo.UserID, userInfo)
117}
118
119func (as *AuthService) RemoveUserCacheInfo(ctx context.Context, accessToken string) (err error) {
120 return as.authRepo.RemoveUserCacheInfo(ctx, accessToken)

Callers

nothing calls this directly

Calls 1

SetUserStatusMethod · 0.65

Tested by

no test coverage detected