Versions in this module Expand all Collapse all v0 v0.0.2 May 28, 2021 Changes in this version + const DEF_ENDPOINT + const DEF_SIGNING_ALGORITHM + const REQUEST_ID_HEADER_KEY + type UniClient struct + AccessKeyId string + AccessKeySecret string + Endpoint string + SigningAlgorithm string + func NewClient(params ...string) *UniClient + func (c *UniClient) GenerateRandomString(n int) string + func (c *UniClient) Request(action string, data map[string]interface{}) (response *UniResponse, err error) + func (c *UniClient) SetEndpoint(endpoint string) + func (c *UniClient) Sign(query url.Values) url.Values + type UniResponse struct + Code string + Data map[string]interface{} + Message string + Raw *http.Response + RequestId string + Status int + func NewResponse(res *http.Response) (*UniResponse, error)