Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetrcFilePath ¶
func NewNetrcTransport ¶
func NewNetrcTransport(underlying http.RoundTripper) http.RoundTripper
func ParseNetrc ¶
func ParseNetrc() (*netrc.Netrc, error)
Types ¶
type GitNetrcHTTPAuth ¶
type GitNetrcHTTPAuth struct {
// contains filtered or unexported fields
}
func NewGitNetrcHTTPAuth ¶
func NewGitNetrcHTTPAuth() *GitNetrcHTTPAuth
func (GitNetrcHTTPAuth) Name ¶
func (GitNetrcHTTPAuth) Name() string
func (GitNetrcHTTPAuth) SetAuth ¶
func (g GitNetrcHTTPAuth) SetAuth(r *http.Request)
func (GitNetrcHTTPAuth) String ¶
func (g GitNetrcHTTPAuth) String() string
type NetrcTransport ¶
type NetrcTransport struct { Underlying http.RoundTripper // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.