Registry / http-client / mongodb-forks-digest

mongodb-forks-digest

JSON →
library1.1.0gogounverified

Package digest provides HTTP Digest Authentication for MongoDB HTTP clients.

go get github.com/mongodb-forks/digest
INSTALL
IMPORT
SIG · MONGODB-FORKS-DIGE
M
mongodb-forks-digest
http-clientgov1.1.0
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.

digest
github.com/mongodb-forks/digest

Create an HTTP client with Digest Authentication.

package main import ( "fmt" "net/http" "github.com/mongodb-forks/digest" ) func main() { transport := digest.NewTransport("username", "password") client := &http.Client{Transport: transport} resp, err := client.Get("https://example.com") if err != nil { fmt.Println(err) return } defer resp.Body.Close() fmt.Println("Authenticated request succeeded") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
mongodb-forks-digest — go get mongodb-forks-digest · libregistry