Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters ¶
type Parameters map[string]interface{}
type Request ¶
type Request struct {
Service string `json:"service"`
Method string `json:"method"`
Parameters Parameters `json:"parameters"`
}
Request contains information that form an API request. The struct is json-encoded before being sent to the API.
func New ¶
func New(service, method string, params Parameters) *Request
New returns a new request object.
Click to show internal directories.
Click to hide internal directories.