Registry / http-client / hashicorp-go-cleanhttp

hashicorp-go-cleanhttp

JSON →
library0.5.2gogounverified

Offers convenience utilities for acquiring clean http.Transport and http.Client structs with sensible defaults.

go get github.com/hashicorp/go-cleanhttp
INSTALL
IMPORT
SIG · HASHICORP-GO-CLEAN
H
hashicorp-go-cleanhttp
http-clientgov0.5.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cleanhttp
github.com/hashicorp/go-cleanhttp

Creates a default clean HTTP client.

package main import ( "fmt" "github.com/hashicorp/go-cleanhttp" ) func main() { client := cleanhttp.DefaultClient() fmt.Println(client) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
hashicorp-go-cleanhttp — go get hashicorp-go-cleanhttp · libregistry