Documentation
¶
Index ¶
- type UserServer
- func (s *UserServer) UserCheckToken(ctx context.Context, in *sys.UserCheckTokenReq) (*sys.UserCheckTokenResp, error)
- func (s *UserServer) UserCreate(ctx context.Context, in *sys.UserInfo) (*sys.UserCreateResp, error)
- func (s *UserServer) UserDelete(ctx context.Context, in *sys.UserDeleteReq) (*sys.Response, error)
- func (s *UserServer) UserIndex(ctx context.Context, in *sys.UserIndexReq) (*sys.UserIndexResp, error)
- func (s *UserServer) UserLogin(ctx context.Context, in *sys.UserLoginReq) (*sys.UserLoginResp, error)
- func (s *UserServer) UserRead(ctx context.Context, in *sys.UserReadReq) (*sys.UserInfo, error)
- func (s *UserServer) UserUpdate(ctx context.Context, in *sys.UserInfo) (*sys.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServer ¶
type UserServer struct { sys.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserServer ¶
func NewUserServer(svcCtx *svc.ServiceContext) *UserServer
func (*UserServer) UserCheckToken ¶ added in v0.5.1
func (s *UserServer) UserCheckToken(ctx context.Context, in *sys.UserCheckTokenReq) (*sys.UserCheckTokenResp, error)
func (*UserServer) UserCreate ¶ added in v0.5.1
func (s *UserServer) UserCreate(ctx context.Context, in *sys.UserInfo) (*sys.UserCreateResp, error)
func (*UserServer) UserDelete ¶ added in v0.5.1
func (s *UserServer) UserDelete(ctx context.Context, in *sys.UserDeleteReq) (*sys.Response, error)
func (*UserServer) UserIndex ¶ added in v0.5.1
func (s *UserServer) UserIndex(ctx context.Context, in *sys.UserIndexReq) (*sys.UserIndexResp, error)
func (*UserServer) UserLogin ¶ added in v0.5.1
func (s *UserServer) UserLogin(ctx context.Context, in *sys.UserLoginReq) (*sys.UserLoginResp, error)
func (*UserServer) UserRead ¶ added in v0.5.1
func (s *UserServer) UserRead(ctx context.Context, in *sys.UserReadReq) (*sys.UserInfo, error)
func (*UserServer) UserUpdate ¶ added in v0.5.1
Click to show internal directories.
Click to hide internal directories.