Documentation ¶
Index ¶
- func Register(s *grpcx.GrpcServer)
- type Controller
- func (*Controller) Create(ctx context.Context, req *v1.CreateReq) (res *v1.CreateRes, err error)
- func (*Controller) Delete(ctx context.Context, req *v1.DeleteReq) (res *v1.DeleteRes, err error)
- func (*Controller) GetList(ctx context.Context, req *v1.GetListReq) (res *v1.GetListRes, err error)
- func (*Controller) GetOne(ctx context.Context, req *v1.GetOneReq) (res *v1.GetOneRes, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
v1.UnimplementedUserServer
}
func (*Controller) GetList ¶
func (*Controller) GetList(ctx context.Context, req *v1.GetListReq) (res *v1.GetListRes, err error)
Click to show internal directories.
Click to hide internal directories.