Versions in this module Expand all Collapse all v1 v1.0.1 May 8, 2023 Changes in this version + const ApiFormat + const ApiGatewayUrl + type DefaultRequest interface + AddParameter func(string, interface{}) + CheckParameters func() + GetApiName func() string + GetParameters func() map[string]interface{} + GetVersion func() string + 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 map[string]interface{}) + func (u *TopClient) CreateStrParam() string + func (u *TopClient) Exec(request DefaultRequest, response DefaultResponse) error + func (u *TopClient) Execute(params map[string]interface{}) (string, error) + func (u *TopClient) Init(appKey, appSecret, sessionkey string) + func (u *TopClient) PostRequest(uri, body string) (string, error)