{"modulePath":"github.com/dockerstack/amazon-ecs-agent","version":"v1.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package httpclient\n\nPackage httpclient provides a thin, but testable, wrapper around http.Client. It adds an ECS header to requests and provides an interface\n\n## Functions\n\n```go\nfunc New(timeout time.Duration, insecureSkipVerify bool) *http.Client\n```\nNew returns an ECS httpClient with a roundtrip timeout of the given duration\n\n## Types\n\n```go\ntype OverridableTransport interface {\n\tSetTransport(http.RoundTripper)\n}\n```\nOverridableTransport is a transport that provides an override for testing purposes.\n\n","path":"github.com/dockerstack/amazon-ecs-agent/agent/httpclient","name":"httpclient","synopsis":"Package httpclient provides a thin, but testable, wrapper around http.Client.","isRedistributable":true}
