Versions in this module Expand all Collapse all v0 v0.7.11 Nov 11, 2020 Changes in this version + var LoginRespSvrErr = &pb.LoginResponse + var RegisterRespSvrErr = &pb.RegisterResponse + var ResetPasswordRespSvrErr = &pb.ResetPasswordResponse + var UpdateInfoRespSvrErr = &pb.UpdateInfoResponse + var UpdatePasswordRespSvrErr = &pb.UpdatePasswordResponse + type Service struct + func (s *Service) DeleteUser(ctx context.Context, request *pb.DeleteUserRequest) (*pb.DeleteUserResponse, error) + func (s *Service) Login(ctx context.Context, request *pb.LoginRequest) (*pb.LoginResponse, error) + func (s *Service) Register(ctx context.Context, request *pb.RegisterRequest) (*pb.RegisterResponse, error) + func (s *Service) ResetPassword(ctx context.Context, request *pb.ResetPasswordRequest) (*pb.ResetPasswordResponse, error) + func (s *Service) SetUserAsManager(ctx context.Context, request *pb.SetUserAsManagerRequest) (*pb.SetUserAsManagerResponse, error) + func (s *Service) UpdateInfo(ctx context.Context, request *pb.UpdateInfoRequest) (*pb.UpdateInfoResponse, error) + func (s *Service) UpdatePassword(ctx context.Context, request *pb.UpdatePasswordRequest) (*pb.UpdatePasswordResponse, error) v0.1.0 Feb 28, 2020 Changes in this version + type UserInfoService struct + func (service *UserInfoService) ChangeUserRole(ctx context.Context, req *pb.ChangeUserRoleRequest) (*pb.ChangeUserRoleResponse, error) + func (service *UserInfoService) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (*pb.DeleteUserResponse, error) + func (service *UserInfoService) FrozenAccount(context.Context, *pb.FrozenAccountRequest) (*pb.FrozenAccountResponse, error) + func (service *UserInfoService) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginResponse, error) + func (service *UserInfoService) ResetPassword(ctx context.Context, req *pb.ResetPasswordRequest) (*pb.ResetPasswordResponse, error) + func (service *UserInfoService) SignUp(ctx context.Context, req *pb.SignUpRequest) (*pb.SignUpResponse, error) + func (service *UserInfoService) UpdateInfo(ctx context.Context, req *pb.UpdateInfoRequest) (*pb.UpdateInfoResponse, error) + func (service *UserInfoService) UpdatePassword(ctx context.Context, req *pb.UpdatePasswordRequest) (*pb.UpdatePasswordResponse, error)