Documentation ¶
Index ¶
- type UserServiceServer
- func (s *UserServiceServer) UserAdd(ctx context.Context, in *service_pb.UserAddReq) (*service_pb.UserAddResp, error)
- func (s *UserServiceServer) UserRemove(ctx context.Context, in *service_pb.UserRemoveReq) (*service_pb.EmptyResp, error)
- func (s *UserServiceServer) UserRetrieve(ctx context.Context, in *service_pb.UserRetrieveReq) (*service_pb.UserRetrieveResp, error)
- func (s *UserServiceServer) UserUpdate(ctx context.Context, in *service_pb.UserUpdateReq) (*service_pb.EmptyResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServiceServer ¶
type UserServiceServer struct { service_pb.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUserServiceServer ¶
func NewUserServiceServer(svcCtx *svc.ServiceContext) *UserServiceServer
func (*UserServiceServer) UserAdd ¶
func (s *UserServiceServer) UserAdd(ctx context.Context, in *service_pb.UserAddReq) (*service_pb.UserAddResp, error)
UserAdd 用户表 创建
func (*UserServiceServer) UserRemove ¶
func (s *UserServiceServer) UserRemove(ctx context.Context, in *service_pb.UserRemoveReq) (*service_pb.EmptyResp, error)
UserRemove 用户表 删除
func (*UserServiceServer) UserRetrieve ¶
func (s *UserServiceServer) UserRetrieve(ctx context.Context, in *service_pb.UserRetrieveReq) (*service_pb.UserRetrieveResp, error)
UserRetrieve 用户表 获取
func (*UserServiceServer) UserUpdate ¶
func (s *UserServiceServer) UserUpdate(ctx context.Context, in *service_pb.UserUpdateReq) (*service_pb.EmptyResp, error)
UserUpdate 用户表 更新
Click to show internal directories.
Click to hide internal directories.