Documentation
¶
Index ¶
- type Client
- func (c *Client) CartPurchase(ctx context.Context, params *cart.PurChaseCartGoodsRequest) ([]byte, error)
- func (c *Client) CartShow(ctx context.Context, params *cart.ShowCartGoodsListRequest) ([]byte, error)
- func (c *Client) OrderList(ctx context.Context, params *order.ViewOrderListReq) ([]byte, error)
- func (c *Client) OrderView(ctx context.Context, params *order.ViewOrderReq) ([]byte, error)
- func (c *Client) Ping(ctx context.Context) ([]byte, error)
- type ClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
adapter.ServerCaller
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opt *ClientConfig) *Client
func (*Client) CartPurchase ¶
type ClientConfig ¶
type ClientConfig struct {
BaseUrl string
}
Click to show internal directories.
Click to hide internal directories.