An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/hashicorp/go-cleanhttp

Package cleanhttp offers convenience utilities for acquiring "clean" http.Transport and http.Client structs. Values set on http.DefaultClient and http.DefaultTransport affect all callers. This can have detrimental effects, esepcially in TLS contexts, where client or root certificates set to talk to multiple endpoints can end up displacing each other, leading to hard-to-debug issues. This package provides non-shared http.Client and http.Transport structs to ensure that the configuration will not be overwritten by other parts of the application or dependencies. The DefaultClient and DefaultTransport functions disable idle connections and keepalives. Without ensuring that idle connections are closed before garbage collection, short-term clients/transports can leak file descriptors, eventually leading to "too many open files" errors. If you will be connecting to the same hosts repeatedly from the same client, you can use DefaultPooledClient to receive a client that has connection pooling semantics similar to http.DefaultClient.
3 versions
Latest release: over 4 years ago
12,592 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/hashicorp/go-cleanhttp

Dependent Repos 14

ANSSI-FR/ultrablue
User-friendly Lightweight TPM Remote Attestation over Bluetooth

Size: 3.87 MB - Last synced: 2 days ago - Pushed: about 2 years ago

InseeFrLab/onyxia-cli
WIP

Size: 53.7 KB - Last synced: 1 day ago - Pushed: 6 days ago

InseeFrLab/utils
A collection of scripts that may have been used at some point :)

Size: 41 KB - Last synced: 1 day ago - Pushed: over 1 year ago

Spirals-Team/genpack-swarm Fork of docker-archive/classicswarm
GenPack is an extension of Docker Swarm to better pack containers onto hosts

Size: 12.8 MB - Last synced: 1 day ago - Pushed: over 8 years ago

CEREMA/k3s-snapshots

Size: 6.12 MB - Last synced: 4 days ago - Pushed: about 3 years ago

CEREMA/k3-utils

Size: 6.15 MB - Last synced: 4 days ago - Pushed: almost 3 years ago