Registry / http-client / xinsnake-go-http-digest-auth-client

xinsnake-go-http-digest-auth-client

JSON →
library0.6.0gogounverified

A Go client library for HTTP Digest Access Authentication, enabling secure API requests with digest challenges.

go get github.com/xinsnake/go-http-digest-auth-client
INSTALL
IMPORT
SIG · XINSNAKE-GO-HTTP-D
X
xinsnake-go-http-digest-auth-client
http-clientgov0.6.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.

digestauth
github.com/xinsnake/go-http-digest-auth-client

Makes an HTTP GET request with digest authentication.

package main import ( "fmt" "net/http" "github.com/xinsnake/go-http-digest-auth-client" ) func main() { client := digestauth.NewTransport("username", "password") req, _ := http.NewRequest("GET", "https://example.com/api", nil) resp, err := client.RoundTrip(req) if err != nil { fmt.Println(err) return } fmt.Println(resp.Status) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
xinsnake-go-http-digest-auth-client — go get xinsnake-go-http-digest-auth-client · libregistry