Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNilTransport = errors.New("transport is nil") ErrBadChallenge = errors.New("challenge is bad") ErrAlgNotImplemented = errors.New("alg not implemented") )
exported errors
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct { Username string Password string Transport http.RoundTripper }
Transport is an implementation of http.RoundTripper that takes care of http digest authentication.
func NewTransport ¶
NewTransport creates a new digest transport using the http.DefaultTransport.
Click to show internal directories.
Click to hide internal directories.