Documentation ¶
Index ¶
- type GRPCApi
- func (g *GRPCApi) OrderCancel(ctx context.Context, in *grpcmodels.OrderCancelRequest) (resp *emptypb.Empty, err error)
- func (g *GRPCApi) OrderCreate(ctx context.Context, in *grpcmodels.OrderCreateRequest) (resp *grpcmodels.OrderCreateResponse, err error)
- func (g *GRPCApi) OrderInfo(ctx context.Context, in *grpcmodels.OrderInfoRequest) (resp *grpcmodels.OrderInfoResponse, err error)
- func (g *GRPCApi) OrderPay(ctx context.Context, in *grpcmodels.OrderPayRequest) (resp *emptypb.Empty, err error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCApi ¶
type GRPCApi struct { loms.UnimplementedOrdersServer // contains filtered or unexported fields }
func NewOrderGRPCApi ¶
func (*GRPCApi) OrderCancel ¶
func (g *GRPCApi) OrderCancel( ctx context.Context, in *grpcmodels.OrderCancelRequest, ) (resp *emptypb.Empty, err error)
func (*GRPCApi) OrderCreate ¶
func (g *GRPCApi) OrderCreate( ctx context.Context, in *grpcmodels.OrderCreateRequest, ) (resp *grpcmodels.OrderCreateResponse, err error)
func (*GRPCApi) OrderInfo ¶
func (g *GRPCApi) OrderInfo( ctx context.Context, in *grpcmodels.OrderInfoRequest, ) (resp *grpcmodels.OrderInfoResponse, err error)
func (*GRPCApi) OrderPay ¶
func (g *GRPCApi) OrderPay( ctx context.Context, in *grpcmodels.OrderPayRequest, ) (resp *emptypb.Empty, err error)
Click to show internal directories.
Click to hide internal directories.