Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VERSION sdk version VERSION = "v1.2.3" // GATEWAY api gateway GATEWAY = "https://openapi.dataoke.com/api/" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client sdk client
func (*Client) SetHttpClient ¶
SetHttpClient set custom http.Client for Client
func (*Client) SetVersion ¶
SetVersion change Client version
type Response ¶
type Response struct { RequestID string `json:"requestId,omitempty"` Time int64 `json:"time,omitempty"` Code int `json:"code,omitempty"` Msg string `json:"msg,omitempty"` Data json.RawMessage `json:"data,omitempty"` }
Response api response
Click to show internal directories.
Click to hide internal directories.