Documentation ¶
Index ¶
- type UserService
- func (s *UserService) CreateUser(ctx context.Context, req *pb.CreateUserRequest) (*api.Success, error)
- func (s *UserService) CreateUserPhoneRegister(ctx context.Context, req *pb.UserPhoneRegister) (*api.Success, error)
- func (s *UserService) CreateUserRoleBind(ctx context.Context, req *pb.UserRoleBindRequest) (*api.Success, error)
- func (s *UserService) CreateUserVerify(ctx context.Context, req *pb.CreatUserVerifyReqeust) (*api.Success, error)
- func (s *UserService) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (*api.Success, error)
- func (s *UserService) DeleteUserRoleBind(ctx context.Context, req *pb.DeleteUserRoleBindRequest) (*api.Success, error)
- func (s *UserService) GetUser(ctx context.Context, req *api.IDRequest) (*pb.GetUserReply, error)
- func (s *UserService) GetUserVerify(ctx context.Context, req *api.IDRequest) (*pb.UserVerifyUrl, error)
- func (s *UserService) ListUser(ctx context.Context, req *api.PageSearch) (*pb.ListUserReply, error)
- func (s *UserService) ListUserNavigation(ctx context.Context, req *api.IDRequest) (*pb.UserNavigationReply, error)
- func (s *UserService) ListUserRoleBind(ctx context.Context, req *pb.ListUserRoleBindRequest) (*pb.ListUserRoleBindReply, error)
- func (s *UserService) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginReply, error)
- func (s *UserService) PostPhoneSmsVeryfy(ctx context.Context, req *pb.PhoneVerifyRequest) (*pb.PhoneVerifyReply, error)
- func (s *UserService) ResetPassword(ctx context.Context, in *pb.ResetPasswordRequest) (*api.Success, error)
- func (s *UserService) UpdateUser(ctx context.Context, req *pb.UpdateUserRequest) (*api.Success, error)
- func (s *UserService) UpdateUserVerify(ctx context.Context, req *pb.UpdateUserVerifyRequest) (*api.Success, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct { pb.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserService ¶
func NewUserService(user *auth.Auth) *UserService
func (*UserService) CreateUser ¶
func (s *UserService) CreateUser(ctx context.Context, req *pb.CreateUserRequest) (*api.Success, error)
func (*UserService) CreateUserPhoneRegister ¶
func (s *UserService) CreateUserPhoneRegister(ctx context.Context, req *pb.UserPhoneRegister) (*api.Success, error)
func (*UserService) CreateUserRoleBind ¶
func (s *UserService) CreateUserRoleBind(ctx context.Context, req *pb.UserRoleBindRequest) (*api.Success, error)
func (*UserService) CreateUserVerify ¶
func (s *UserService) CreateUserVerify(ctx context.Context, req *pb.CreatUserVerifyReqeust) (*api.Success, error)
func (*UserService) DeleteUser ¶
func (s *UserService) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (*api.Success, error)
func (*UserService) DeleteUserRoleBind ¶
func (s *UserService) DeleteUserRoleBind(ctx context.Context, req *pb.DeleteUserRoleBindRequest) (*api.Success, error)
func (*UserService) GetUser ¶
func (s *UserService) GetUser(ctx context.Context, req *api.IDRequest) (*pb.GetUserReply, error)
func (*UserService) GetUserVerify ¶
func (s *UserService) GetUserVerify(ctx context.Context, req *api.IDRequest) (*pb.UserVerifyUrl, error)
func (*UserService) ListUser ¶
func (s *UserService) ListUser(ctx context.Context, req *api.PageSearch) (*pb.ListUserReply, error)
func (*UserService) ListUserNavigation ¶
func (s *UserService) ListUserNavigation(ctx context.Context, req *api.IDRequest) (*pb.UserNavigationReply, error)
func (*UserService) ListUserRoleBind ¶
func (s *UserService) ListUserRoleBind(ctx context.Context, req *pb.ListUserRoleBindRequest) (*pb.ListUserRoleBindReply, error)
func (*UserService) Login ¶
func (s *UserService) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginReply, error)
func (*UserService) PostPhoneSmsVeryfy ¶
func (s *UserService) PostPhoneSmsVeryfy(ctx context.Context, req *pb.PhoneVerifyRequest) (*pb.PhoneVerifyReply, error)
func (*UserService) ResetPassword ¶
func (s *UserService) ResetPassword(ctx context.Context, in *pb.ResetPasswordRequest) (*api.Success, error)
func (*UserService) UpdateUser ¶
func (s *UserService) UpdateUser(ctx context.Context, req *pb.UpdateUserRequest) (*api.Success, error)
func (*UserService) UpdateUserVerify ¶
func (s *UserService) UpdateUserVerify(ctx context.Context, req *pb.UpdateUserVerifyRequest) (*api.Success, error)
Click to show internal directories.
Click to hide internal directories.