Documentation ¶
Index ¶
- Variables
- type UserService
- func (s *UserService) AddAvatarReviewDbAndCache(ctx context.Context, req *v1.AddAvatarReviewDbAndCacheReq) (*emptypb.Empty, error)
- func (s *UserService) AddCoverReviewDbAndCache(ctx context.Context, req *v1.AddCoverReviewDbAndCacheReq) (*emptypb.Empty, error)
- func (s *UserService) AvatarIrregular(ctx context.Context, req *v1.AvatarIrregularReq) (*emptypb.Empty, error)
- func (s *UserService) CancelFollowDbAndCache(ctx context.Context, req *v1.CancelFollowDbAndCacheReq) (*emptypb.Empty, error)
- func (s *UserService) CancelUserFollow(ctx context.Context, req *v1.CancelUserFollowReq) (*emptypb.Empty, error)
- func (s *UserService) ChangeUserPassword(ctx context.Context, req *v1.ChangeUserPasswordReq) (*emptypb.Empty, error)
- func (s *UserService) CoverIrregular(ctx context.Context, req *v1.CoverIrregularReq) (*emptypb.Empty, error)
- func (s *UserService) GetAccount(ctx context.Context, req *v1.GetAccountReq) (*v1.GetAccountReply, error)
- func (s *UserService) GetAvatarReview(ctx context.Context, req *v1.GetAvatarReviewReq) (*v1.GetAvatarReviewReply, error)
- func (s *UserService) GetCosSessionKey(ctx context.Context, req *v1.GetCosSessionKeyReq) (*v1.GetCosSessionKeyReply, error)
- func (s *UserService) GetCoverReview(ctx context.Context, req *v1.GetCoverReviewReq) (*v1.GetCoverReviewReply, error)
- func (s *UserService) GetFollowList(ctx context.Context, req *v1.GetFollowListReq) (*v1.GetFollowListReply, error)
- func (s *UserService) GetFollowListCount(ctx context.Context, req *v1.GetFollowListCountReq) (*v1.GetFollowListCountReply, error)
- func (s *UserService) GetFollowedList(ctx context.Context, req *v1.GetFollowedListReq) (*v1.GetFollowedListReply, error)
- func (s *UserService) GetFollowedListCount(ctx context.Context, req *v1.GetFollowedListCountReq) (*v1.GetFollowedListCountReply, error)
- func (s *UserService) GetHealth(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *UserService) GetProfile(ctx context.Context, req *v1.GetProfileReq) (*v1.GetProfileReply, error)
- func (s *UserService) GetProfileList(ctx context.Context, req *v1.GetProfileListReq) (*v1.GetProfileListReply, error)
- func (s *UserService) GetProfileUpdate(ctx context.Context, req *v1.GetProfileUpdateReq) (*v1.GetProfileUpdateReply, error)
- func (s *UserService) GetUserFollow(ctx context.Context, req *v1.GetUserFollowReq) (*v1.GetUserFollowReply, error)
- func (s *UserService) GetUserFollows(ctx context.Context, req *v1.GetUserFollowsReq) (*v1.GetUserFollowsReply, error)
- func (s *UserService) GetUserSearch(ctx context.Context, req *v1.GetUserSearchReq) (*v1.GetUserSearchReply, error)
- func (s *UserService) LoginByCode(ctx context.Context, req *v1.LoginByCodeReq) (*v1.LoginReply, error)
- func (s *UserService) LoginByGitee(ctx context.Context, req *v1.LoginByGiteeReq) (*v1.LoginReply, error)
- func (s *UserService) LoginByGithub(ctx context.Context, req *v1.LoginByGithubReq) (*v1.LoginReply, error)
- func (s *UserService) LoginByPassword(ctx context.Context, req *v1.LoginByPasswordReq) (*v1.LoginReply, error)
- func (s *UserService) LoginByQQ(ctx context.Context, req *v1.LoginByQQReq) (*v1.LoginReply, error)
- func (s *UserService) LoginByWeChat(ctx context.Context, req *v1.LoginByWeChatReq) (*v1.LoginReply, error)
- func (s *UserService) LoginPasswordReset(ctx context.Context, req *v1.LoginPasswordResetReq) (*emptypb.Empty, error)
- func (s *UserService) ProfileReviewNotPass(ctx context.Context, req *v1.ProfileReviewNotPassReq) (*emptypb.Empty, error)
- func (s *UserService) ProfileReviewPass(ctx context.Context, req *v1.ProfileReviewPassReq) (*emptypb.Empty, error)
- func (s *UserService) SendEmailCode(ctx context.Context, req *v1.SendEmailCodeReq) (*emptypb.Empty, error)
- func (s *UserService) SendPhoneCode(ctx context.Context, req *v1.SendPhoneCodeReq) (*emptypb.Empty, error)
- func (s *UserService) SetFollowDbAndCache(ctx context.Context, req *v1.SetFollowDbAndCacheReq) (*emptypb.Empty, error)
- func (s *UserService) SetProfileUpdate(ctx context.Context, req *v1.SetProfileUpdateReq) (*emptypb.Empty, error)
- func (s *UserService) SetUserEmail(ctx context.Context, req *v1.SetUserEmailReq) (*emptypb.Empty, error)
- func (s *UserService) SetUserFollow(ctx context.Context, req *v1.SetUserFollowReq) (*emptypb.Empty, error)
- func (s *UserService) SetUserGitee(ctx context.Context, req *v1.SetUserGiteeReq) (*emptypb.Empty, error)
- func (s *UserService) SetUserGithub(ctx context.Context, req *v1.SetUserGithubReq) (*emptypb.Empty, error)
- func (s *UserService) SetUserPassword(ctx context.Context, req *v1.SetUserPasswordReq) (*emptypb.Empty, error)
- func (s *UserService) SetUserPhone(ctx context.Context, req *v1.SetUserPhoneReq) (*emptypb.Empty, error)
- func (s *UserService) SetUserQQ(ctx context.Context, req *v1.SetUserQQReq) (*emptypb.Empty, error)
- func (s *UserService) SetUserWechat(ctx context.Context, req *v1.SetUserWechatReq) (*emptypb.Empty, error)
- func (s *UserService) UnbindUserEmail(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
- func (s *UserService) UnbindUserGitee(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
- func (s *UserService) UnbindUserGithub(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
- func (s *UserService) UnbindUserPhone(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
- func (s *UserService) UnbindUserQQ(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
- func (s *UserService) UnbindUserWechat(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
- func (s *UserService) UserRegister(ctx context.Context, req *v1.UserRegisterReq) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewUserService)
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct { v1.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserService ¶
func NewUserService(uc *biz.UserUseCase, ac *biz.AuthUseCase, logger log.Logger) *UserService
func (*UserService) AddAvatarReviewDbAndCache ¶
func (s *UserService) AddAvatarReviewDbAndCache(ctx context.Context, req *v1.AddAvatarReviewDbAndCacheReq) (*emptypb.Empty, error)
func (*UserService) AddCoverReviewDbAndCache ¶
func (s *UserService) AddCoverReviewDbAndCache(ctx context.Context, req *v1.AddCoverReviewDbAndCacheReq) (*emptypb.Empty, error)
func (*UserService) AvatarIrregular ¶
func (s *UserService) AvatarIrregular(ctx context.Context, req *v1.AvatarIrregularReq) (*emptypb.Empty, error)
func (*UserService) CancelFollowDbAndCache ¶
func (s *UserService) CancelFollowDbAndCache(ctx context.Context, req *v1.CancelFollowDbAndCacheReq) (*emptypb.Empty, error)
func (*UserService) CancelUserFollow ¶
func (s *UserService) CancelUserFollow(ctx context.Context, req *v1.CancelUserFollowReq) (*emptypb.Empty, error)
func (*UserService) ChangeUserPassword ¶
func (s *UserService) ChangeUserPassword(ctx context.Context, req *v1.ChangeUserPasswordReq) (*emptypb.Empty, error)
func (*UserService) CoverIrregular ¶
func (s *UserService) CoverIrregular(ctx context.Context, req *v1.CoverIrregularReq) (*emptypb.Empty, error)
func (*UserService) GetAccount ¶
func (s *UserService) GetAccount(ctx context.Context, req *v1.GetAccountReq) (*v1.GetAccountReply, error)
func (*UserService) GetAvatarReview ¶
func (s *UserService) GetAvatarReview(ctx context.Context, req *v1.GetAvatarReviewReq) (*v1.GetAvatarReviewReply, error)
func (*UserService) GetCosSessionKey ¶
func (s *UserService) GetCosSessionKey(ctx context.Context, req *v1.GetCosSessionKeyReq) (*v1.GetCosSessionKeyReply, error)
func (*UserService) GetCoverReview ¶
func (s *UserService) GetCoverReview(ctx context.Context, req *v1.GetCoverReviewReq) (*v1.GetCoverReviewReply, error)
func (*UserService) GetFollowList ¶
func (s *UserService) GetFollowList(ctx context.Context, req *v1.GetFollowListReq) (*v1.GetFollowListReply, error)
func (*UserService) GetFollowListCount ¶
func (s *UserService) GetFollowListCount(ctx context.Context, req *v1.GetFollowListCountReq) (*v1.GetFollowListCountReply, error)
func (*UserService) GetFollowedList ¶
func (s *UserService) GetFollowedList(ctx context.Context, req *v1.GetFollowedListReq) (*v1.GetFollowedListReply, error)
func (*UserService) GetFollowedListCount ¶
func (s *UserService) GetFollowedListCount(ctx context.Context, req *v1.GetFollowedListCountReq) (*v1.GetFollowedListCountReply, error)
func (*UserService) GetProfile ¶
func (s *UserService) GetProfile(ctx context.Context, req *v1.GetProfileReq) (*v1.GetProfileReply, error)
func (*UserService) GetProfileList ¶
func (s *UserService) GetProfileList(ctx context.Context, req *v1.GetProfileListReq) (*v1.GetProfileListReply, error)
func (*UserService) GetProfileUpdate ¶
func (s *UserService) GetProfileUpdate(ctx context.Context, req *v1.GetProfileUpdateReq) (*v1.GetProfileUpdateReply, error)
func (*UserService) GetUserFollow ¶
func (s *UserService) GetUserFollow(ctx context.Context, req *v1.GetUserFollowReq) (*v1.GetUserFollowReply, error)
func (*UserService) GetUserFollows ¶
func (s *UserService) GetUserFollows(ctx context.Context, req *v1.GetUserFollowsReq) (*v1.GetUserFollowsReply, error)
func (*UserService) GetUserSearch ¶
func (s *UserService) GetUserSearch(ctx context.Context, req *v1.GetUserSearchReq) (*v1.GetUserSearchReply, error)
func (*UserService) LoginByCode ¶
func (s *UserService) LoginByCode(ctx context.Context, req *v1.LoginByCodeReq) (*v1.LoginReply, error)
func (*UserService) LoginByGitee ¶ added in v1.3.0
func (s *UserService) LoginByGitee(ctx context.Context, req *v1.LoginByGiteeReq) (*v1.LoginReply, error)
func (*UserService) LoginByGithub ¶ added in v1.3.0
func (s *UserService) LoginByGithub(ctx context.Context, req *v1.LoginByGithubReq) (*v1.LoginReply, error)
func (*UserService) LoginByPassword ¶
func (s *UserService) LoginByPassword(ctx context.Context, req *v1.LoginByPasswordReq) (*v1.LoginReply, error)
func (*UserService) LoginByQQ ¶ added in v1.3.0
func (s *UserService) LoginByQQ(ctx context.Context, req *v1.LoginByQQReq) (*v1.LoginReply, error)
func (*UserService) LoginByWeChat ¶ added in v1.3.0
func (s *UserService) LoginByWeChat(ctx context.Context, req *v1.LoginByWeChatReq) (*v1.LoginReply, error)
func (*UserService) LoginPasswordReset ¶
func (s *UserService) LoginPasswordReset(ctx context.Context, req *v1.LoginPasswordResetReq) (*emptypb.Empty, error)
func (*UserService) ProfileReviewNotPass ¶
func (s *UserService) ProfileReviewNotPass(ctx context.Context, req *v1.ProfileReviewNotPassReq) (*emptypb.Empty, error)
func (*UserService) ProfileReviewPass ¶
func (s *UserService) ProfileReviewPass(ctx context.Context, req *v1.ProfileReviewPassReq) (*emptypb.Empty, error)
func (*UserService) SendEmailCode ¶
func (s *UserService) SendEmailCode(ctx context.Context, req *v1.SendEmailCodeReq) (*emptypb.Empty, error)
func (*UserService) SendPhoneCode ¶
func (s *UserService) SendPhoneCode(ctx context.Context, req *v1.SendPhoneCodeReq) (*emptypb.Empty, error)
func (*UserService) SetFollowDbAndCache ¶
func (s *UserService) SetFollowDbAndCache(ctx context.Context, req *v1.SetFollowDbAndCacheReq) (*emptypb.Empty, error)
func (*UserService) SetProfileUpdate ¶
func (s *UserService) SetProfileUpdate(ctx context.Context, req *v1.SetProfileUpdateReq) (*emptypb.Empty, error)
func (*UserService) SetUserEmail ¶
func (s *UserService) SetUserEmail(ctx context.Context, req *v1.SetUserEmailReq) (*emptypb.Empty, error)
func (*UserService) SetUserFollow ¶
func (s *UserService) SetUserFollow(ctx context.Context, req *v1.SetUserFollowReq) (*emptypb.Empty, error)
func (*UserService) SetUserGitee ¶ added in v1.3.0
func (s *UserService) SetUserGitee(ctx context.Context, req *v1.SetUserGiteeReq) (*emptypb.Empty, error)
func (*UserService) SetUserGithub ¶ added in v1.3.0
func (s *UserService) SetUserGithub(ctx context.Context, req *v1.SetUserGithubReq) (*emptypb.Empty, error)
func (*UserService) SetUserPassword ¶
func (s *UserService) SetUserPassword(ctx context.Context, req *v1.SetUserPasswordReq) (*emptypb.Empty, error)
func (*UserService) SetUserPhone ¶
func (s *UserService) SetUserPhone(ctx context.Context, req *v1.SetUserPhoneReq) (*emptypb.Empty, error)
func (*UserService) SetUserQQ ¶ added in v1.3.0
func (s *UserService) SetUserQQ(ctx context.Context, req *v1.SetUserQQReq) (*emptypb.Empty, error)
func (*UserService) SetUserWechat ¶ added in v1.3.0
func (s *UserService) SetUserWechat(ctx context.Context, req *v1.SetUserWechatReq) (*emptypb.Empty, error)
func (*UserService) UnbindUserEmail ¶
func (s *UserService) UnbindUserEmail(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
func (*UserService) UnbindUserGitee ¶ added in v1.3.0
func (s *UserService) UnbindUserGitee(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
func (*UserService) UnbindUserGithub ¶ added in v1.3.0
func (s *UserService) UnbindUserGithub(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
func (*UserService) UnbindUserPhone ¶
func (s *UserService) UnbindUserPhone(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
func (*UserService) UnbindUserQQ ¶ added in v1.3.0
func (s *UserService) UnbindUserQQ(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
func (*UserService) UnbindUserWechat ¶ added in v1.3.0
func (s *UserService) UnbindUserWechat(ctx context.Context, req *v1.UnbindUserAccountReq) (*emptypb.Empty, error)
func (*UserService) UserRegister ¶
func (s *UserService) UserRegister(ctx context.Context, req *v1.UserRegisterReq) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.