Documentation ¶
Index ¶
- type Auth
- type Client
- func (h Client) Get(url string) (resp []byte, err error)
- func (h Client) GetUnmarshalled(url string, targetPtr interface{}) (err error)
- func (h Client) Post(url string, data interface{}) (resp []byte, err error)
- func (h Client) PostUnmarshalled(url string, data interface{}, target interface{}) (err error)
- type Json
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Auth Auth
}
Client for HTTP
func (Client) GetUnmarshalled ¶
GetUnmarshalled makes a GET HTTP request and unmarshalls the data
func (Client) PostUnmarshalled ¶
PostUnmarshalled makes a POST HTTP request and unmarshalls the data
Click to show internal directories.
Click to hide internal directories.