Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client = HTTPClient{Client: &http.Client{}}
Functions ¶
Types ¶
type HTTPClient ¶
func (*HTTPClient) Delete ¶
func (client *HTTPClient) Delete(path string) error
func (*HTTPClient) DoJSON ¶
func (client *HTTPClient) DoJSON(req *http.Request, dest interface{}) error
func (*HTTPClient) GetTo ¶
func (client *HTTPClient) GetTo(path string, dest interface{}) error
func (*HTTPClient) PostTo ¶
func (client *HTTPClient) PostTo(path string, payload interface{}, dest interface{}) error
Click to show internal directories.
Click to hide internal directories.