Documentation ¶
Index ¶
- func NewHystrixHelper(commandName string) (*hystrixHelper, error)
- type HTTPClient
- func (c *HTTPClient) Do(r *http.Request) (*http.Response, error)
- func (c *HTTPClient) Get(url string) (*http.Response, error)
- func (c *HTTPClient) Head(url string) (*http.Response, error)
- func (c *HTTPClient) Post(url string, contentType string, body io.Reader) (*http.Response, error)
- func (c *HTTPClient) PostForm(url string, data url.Values) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHystrixHelper ¶
Types ¶
type HTTPClient ¶
func NewClient ¶
func NewClient(commandName string) *HTTPClient
Click to show internal directories.
Click to hide internal directories.