Documentation ¶
Index ¶
- Constants
- type SDKClient
- func (c *SDKClient) DisableSandbox()
- func (c *SDKClient) Post(req model.IRequest, resp model.IResponse, session string) error
- func (c *SDKClient) SetAPIFormat(format model.APIFormat)
- func (c *SDKClient) SetDebug(debug bool)
- func (c *SDKClient) SetSignMethod(method model.SignMethod)
- func (c *SDKClient) UseSandbox()
Constants ¶
View Source
const ( PRODUCT_GATEWAY = "https://eco.taobao.com/router/rest" SANDBOX_GATEWAY = "https://gw.api.tbsandbox.com/router/rest" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SDKClient ¶
type SDKClient struct {
// contains filtered or unexported fields
}
func NewSDKClient ¶
func (*SDKClient) DisableSandbox ¶
func (c *SDKClient) DisableSandbox()
func (*SDKClient) SetAPIFormat ¶
func (*SDKClient) SetSignMethod ¶
func (c *SDKClient) SetSignMethod(method model.SignMethod)
func (*SDKClient) UseSandbox ¶
func (c *SDKClient) UseSandbox()
Click to show internal directories.
Click to hide internal directories.