Documentation ¶ Index ¶ type Client func NewClient() *Client func (c *Client) Do(req *http.Request) (*http.Response, error) func (c *Client) Get(url string, response interface{}) error func (c *Client) Post(url string, requestBody interface{}, headers http.Header, response interface{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func NewClient ¶ func NewClient() *Client func (*Client) Do ¶ func (c *Client) Do(req *http.Request) (*http.Response, error) func (*Client) Get ¶ func (c *Client) Get(url string, response interface{}) error func (*Client) Post ¶ func (c *Client) Post(url string, requestBody interface{}, headers http.Header, response interface{}) error Source Files ¶ View all Source files httpreq.go Click to show internal directories. Click to hide internal directories.