Documentation
¶
Index ¶
- func InitClient(dstService string, opts ...client.Option)
- func ListOrder(ctx context.Context, req *order.ListOrderReq, callOptions ...callopt.Option) (resp *order.ListOrderResp, err error)
- func PlaceOrder(ctx context.Context, req *order.PlaceOrderReq, callOptions ...callopt.Option) (resp *order.PlaceOrderResp, err error)
- type RPCClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListOrder ¶
func ListOrder(ctx context.Context, req *order.ListOrderReq, callOptions ...callopt.Option) (resp *order.ListOrderResp, err error)
func PlaceOrder ¶
func PlaceOrder(ctx context.Context, req *order.PlaceOrderReq, callOptions ...callopt.Option) (resp *order.PlaceOrderResp, err error)
Types ¶
type RPCClient ¶
type RPCClient interface { KitexClient() orderservice.Client Service() string PlaceOrder(ctx context.Context, Req *order.PlaceOrderReq, callOptions ...callopt.Option) (r *order.PlaceOrderResp, err error) ListOrder(ctx context.Context, Req *order.ListOrderReq, callOptions ...callopt.Option) (r *order.ListOrderResp, err error) }
Click to show internal directories.
Click to hide internal directories.