user

package
v0.0.0-...-c38fcd0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL