Documentation ¶ Index ¶ func Headers(url *urlpkg.URL, headers map[string]string) (map[string]string, error) type Client func NewClient(config *config.Config) (*Client, error) func (c *Client) Get(url string, params map[string]string, headers map[string]string) (*http.Response, error) func (c *Client) Post(url string, body io.Reader, headers map[string]string) (*http.Response, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Headers ¶ func Headers(url *urlpkg.URL, headers map[string]string) (map[string]string, error) Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func NewClient ¶ func NewClient(config *config.Config) (*Client, error) func (*Client) Get ¶ func (c *Client) Get(url string, params map[string]string, headers map[string]string) (*http.Response, error) func (*Client) Post ¶ func (c *Client) Post(url string, body io.Reader, headers map[string]string) (*http.Response, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.