Documentation ¶
Index ¶
Constants ¶
View Source
const SDKName = "waeasyapi-go"
SDKName ...Name of this SDK
View Source
const SDKVersion = "1.5.0"
SDKVersion ...
Variables ¶
View Source
var Request *requests.Request
Request ...
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client provides various helper methods to make HTTP requests to WAEasyAPI's APIs.
func NewClient ¶
NewClient creates and returns a new WAEasyAPI client. key and secret are used to authenticate the requests made to WAEasyAPI's APIs.
func (*Client) AddHeaders ¶
AddHeaders adds additional headers to WAEasyAPI's client. All requests made using the client will contain these additional headers in the HTTP request.
func (*Client) SetTimeout ¶
SetTimeout sets the timeout of WA Easy API's Client. The default timeout will be overridden for all HTTP requests made using this client.
Click to show internal directories.
Click to hide internal directories.