Documentation ¶
Index ¶
- func GetHeavyProxyOverride(ctx context.Context) (string, bool)
- func GetRoundTripper(ctx context.Context) (http.RoundTripper, bool)
- func NewHTTPClient(c *yt.Config) (yt.Client, error)
- func NewTestHTTPClient(t testing.TB, c *yt.Config) (yt.Client, error)
- func WithHeavyProxyOverride(ctx context.Context, override HeavyProxyOverride) context.Context
- func WithRoundTripper(ctx context.Context, rt http.RoundTripper) context.Context
- type HeavyProxyOverride
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRoundTripper ¶
func GetRoundTripper(ctx context.Context) (http.RoundTripper, bool)
func NewTestHTTPClient ¶
NewTestHTTPClient creates new http client from config to be used in integration tests.
func WithHeavyProxyOverride ¶
func WithHeavyProxyOverride(ctx context.Context, override HeavyProxyOverride) context.Context
func WithRoundTripper ¶
Types ¶
type HeavyProxyOverride ¶
Click to show internal directories.
Click to hide internal directories.