Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrorNilURL the url is missing ErrorNilURL = errors.New("The provided URL can't be empty") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Get(url string) (*http.Response, error) Post(url string, body io.Reader) (*http.Response, error) Do(*http.Request) (*http.Response, error) SetRequest(method, url string, body io.Reader) (*http.Request, error) }
Client is a client interface that enables to write custom behaviours to servers
Click to show internal directories.
Click to hide internal directories.