Documentation ¶
Index ¶
- type UserServer
- func (s *UserServer) BatchCreateUsers(ctx context.Context, in *pb.BatchCreateUserReq) (*pb.IDsResp, error)
- func (s *UserServer) BatchDeleteUser(ctx context.Context, in *pb.IDsResp) (*pb.BaseResp, error)
- func (s *UserServer) ChangePassword(ctx context.Context, in *pb.ChangePasswdReq) (*pb.BaseResp, error)
- func (s *UserServer) CreateUser(ctx context.Context, in *pb.CreateUserReq) (*pb.BaseResp, error)
- func (s *UserServer) DeleteUser(ctx context.Context, in *pb.IDReq) (*pb.BaseResp, error)
- func (s *UserServer) GetUser(ctx context.Context, in *pb.IDReq) (*pb.UserInfoResp, error)
- func (s *UserServer) GetUserList(ctx context.Context, in *pb.PageInfoReq) (*pb.UserListResp, error)
- func (s *UserServer) Login(ctx context.Context, in *pb.LoginReq) (*pb.LoginResp, error)
- func (s *UserServer) UpdateProfile(ctx context.Context, in *pb.UpdateProfileReq) (*pb.BaseResp, error)
- func (s *UserServer) UpdateUserStatus(ctx context.Context, in *pb.StatusCodeReq) (*pb.BaseResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServer ¶
type UserServer struct { pb.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserServer ¶
func NewUserServer(svcCtx *svc.ServiceContext) *UserServer
func (*UserServer) BatchCreateUsers ¶
func (s *UserServer) BatchCreateUsers(ctx context.Context, in *pb.BatchCreateUserReq) (*pb.IDsResp, error)
func (*UserServer) BatchDeleteUser ¶
func (*UserServer) ChangePassword ¶
func (s *UserServer) ChangePassword(ctx context.Context, in *pb.ChangePasswdReq) (*pb.BaseResp, error)
func (*UserServer) CreateUser ¶
func (s *UserServer) CreateUser(ctx context.Context, in *pb.CreateUserReq) (*pb.BaseResp, error)
func (*UserServer) DeleteUser ¶
func (*UserServer) GetUser ¶
func (s *UserServer) GetUser(ctx context.Context, in *pb.IDReq) (*pb.UserInfoResp, error)
func (*UserServer) GetUserList ¶
func (s *UserServer) GetUserList(ctx context.Context, in *pb.PageInfoReq) (*pb.UserListResp, error)
func (*UserServer) UpdateProfile ¶
func (s *UserServer) UpdateProfile(ctx context.Context, in *pb.UpdateProfileReq) (*pb.BaseResp, error)
func (*UserServer) UpdateUserStatus ¶
func (s *UserServer) UpdateUserStatus(ctx context.Context, in *pb.StatusCodeReq) (*pb.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.