https://github.com/hashicorp/go-cleanhttp
Last synced: about 1 month ago
Repository metadata:
- Host: GitHub
- URL: https://github.com/hashicorp/go-cleanhttp
- Owner: hashicorp
- License: mpl-2.0
- Created: 2015-10-22T18:07:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T18:34:21.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T15:18:44.918Z (about 2 months ago)
- Language: Go
- Homepage: https://godoc.org/github.com/hashicorp/go-cleanhttp
- Size: 18.6 KB
- Stars: 370
- Watchers: 16
- Forks: 36
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Owner metadata:
- Name: HashiCorp
- Login: hashicorp
- Email: [email protected]
- Kind: organization
- Description: Consistent workflows to provision, secure, connect, and run any infrastructure for any application.
- Website: https://hashicorp.com
- Location: San Francisco, CA
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/761456?v=4
- Repositories: 986
- Last Synced at: 2023-04-09T06:01:50.287Z
- Profile URL: https://github.com/hashicorp
- Sponsor URL:
Committers metadata
Last synced: about 1 month ago
Total Commits: 21
Total Committers: 9
Avg Commits per committer: 2.333
Development Distribution Score (DDS): 0.429
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Jeff Mitchell | j****l@g****m | 12 |
Calvin Leung Huang | c****0@g****m | 2 |
Brian Flad | b****7@g****m | 1 |
James Bardin | j****n@g****m | 1 |
Jeff Mitchell | j****f@h****m | 1 |
UKEME BASSEY | u****y@h****m | 1 |
hashicorp-copywrite[bot] | n****y@h****m | 1 |
vishalnayak | v****v@g****m | 1 |
hashicorp-copywrite[bot] | 1****] | 1 |
Issue and Pull Request metadata
Last synced: about 1 month ago
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total docker downloads: 34,826,343,907
- Total dependent packages: 12,592
- Total dependent repositories: 78,667
- Total versions: 3
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.
- Homepage: https://github.com/hashicorp/go-cleanhttp
- Documentation: https://pkg.go.dev/github.com/hashicorp/go-cleanhttp#section-documentation
- Licenses: MPL-2.0
- Latest release: v0.5.2 (published almost 4 years ago)
- Last Synced: 2024-11-11T01:12:51.348Z (about 1 month ago)
- Versions: 3
- Dependent Packages: 12,592
- Dependent Repositories: 78,667
- Docker Downloads: 34,826,343,907
-
Rankings:
- Docker downloads count: 0.013%
- Dependent repos count: 0.015%
- Dependent packages count: 0.017%
- Average: 1.446%
- Stargazers count: 3.117%
- Forks count: 4.068%