Versions in this module Expand all Collapse all v1 v1.0.1 May 8, 2023 Changes in this version + const ApiFormat + const ApiGatewayUrl + const ApiSignMethod + const ApiVersion + type DefaultRequest interface + AddParameter func(string, string) + CheckParameters func() + GetApiName func() string + GetParameters func() url.Values + type DefaultResponse interface + IsError func() bool + WrapResult func(result string) + type TopClient struct + AppSecret string + Appkey string + HttpClient *http.Client + ProxyUrl string + RequestTimeOut time.Duration + SysParameters *url.Values + 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)