Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHystrixTransport ¶
func NewHystrixTransport(client *hystrix.Client) http.RoundTripper
NewHystrixTransport returns a http.RoundTripper implementation that uses a hydrix.Client.
Types ¶
type Option ¶
type Option func(c *Client)
Option represents the hydra client options.
func WithHystrixClient ¶
WithHystrixClient creates an option that will define the `hystrix.Client` when creating a new `Client`.
Click to show internal directories.
Click to hide internal directories.