Documentation ¶
Index ¶
- type UserServer
- func (s *UserServer) CheckToken(ctx context.Context, in *sys.CheckTokenReq) (*sys.CheckTokenResp, error)
- func (s *UserServer) Create(ctx context.Context, in *sys.UserCreateReq) (*sys.UserCreateResp, error)
- func (s *UserServer) Delete(ctx context.Context, in *sys.UserDeleteReq) (*sys.Response, error)
- func (s *UserServer) Index(ctx context.Context, in *sys.UserIndexReq) (*sys.UserIndexResp, error)
- func (s *UserServer) Login(ctx context.Context, in *sys.LoginReq) (*sys.LoginResp, error)
- func (s *UserServer) Read(ctx context.Context, in *sys.UserReadReq) (*sys.UserReadResp, error)
- func (s *UserServer) Update(ctx context.Context, in *sys.UserUpdateReq) (*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) CheckToken ¶
func (s *UserServer) CheckToken(ctx context.Context, in *sys.CheckTokenReq) (*sys.CheckTokenResp, error)
func (*UserServer) Create ¶
func (s *UserServer) Create(ctx context.Context, in *sys.UserCreateReq) (*sys.UserCreateResp, error)
func (*UserServer) Delete ¶
func (s *UserServer) Delete(ctx context.Context, in *sys.UserDeleteReq) (*sys.Response, error)
func (*UserServer) Index ¶
func (s *UserServer) Index(ctx context.Context, in *sys.UserIndexReq) (*sys.UserIndexResp, error)
func (*UserServer) Read ¶
func (s *UserServer) Read(ctx context.Context, in *sys.UserReadReq) (*sys.UserReadResp, error)
func (*UserServer) Update ¶
func (s *UserServer) Update(ctx context.Context, in *sys.UserUpdateReq) (*sys.Response, error)
Click to show internal directories.
Click to hide internal directories.