Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an interface with a single Do() method, allowing functions to accept either an http.Client or a digest.DClient
type DClient ¶
type DClient struct {
// contains filtered or unexported fields
}
DClient represents an HTTP client used for making requests authenticated with http digest authentication.
func NewDClient ¶
NewDClient returns a DClient that wraps a given standard library http Client with the given username and password
Click to show internal directories.
Click to hide internal directories.