Documentation ¶
Index ¶
- Constants
- type DefaultRequest
- type DefaultResponse
- type TopClient
- func (u *TopClient) CreateSign(params url.Values)
- func (u *TopClient) CreateStrParam(params url.Values) string
- func (u *TopClient) Exec(request DefaultRequest, response DefaultResponse) error
- func (u *TopClient) Execute(params url.Values) (string, error)
- func (u *TopClient) Init(appKey, appSecret, sessionkey string)
- func (u *TopClient) PostRequest(uri string) (string, error)
Constants ¶
View Source
const ( ApiGatewayUrl = "http://gw.api.taobao.com/router/rest" ApiSignMethod = "md5" ApiFormat = "json" ApiVersion = "2.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRequest ¶
type DefaultResponse ¶
type TopClient ¶
type TopClient struct { Appkey string AppSecret string ProxyUrl string RequestTimeOut time.Duration HttpClient *http.Client SysParameters *url.Values //系统变量 }
func (*TopClient) CreateSign ¶
func (*TopClient) Exec ¶
func (u *TopClient) Exec(request DefaultRequest, response DefaultResponse) error
Click to show internal directories.
Click to hide internal directories.