Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type HttpClient interface {
Get(url string, headers http.Header) (*http.Response, error)
Post(url string, headers http.Header, body interface{}) (*http.Response, error)
Put(url string, headers http.Header, body interface{}) (*http.Response, error)
Patch(url string, headers http.Header, body interface{}) (*http.Response, error)
Delete(url string, headers http.Header) (*http.Response, error)
SetHeaders(headers http.Header)
}
func NewClient ¶
func NewClient() HttpClient
Click to show internal directories.
Click to hide internal directories.