go: github.com/golang/go/src/cmd/go/internal/auth Index | Files

package auth

import "github.com/golang/go/src/cmd/go/internal/auth"

Package auth provides access to user-provided authentication credentials.

Index

Package Files

auth.go netrc.go

func AddCredentials Uses

func AddCredentials(req *http.Request) (added bool)

AddCredentials fills in the user's credentials for req, if any. The return value reports whether any matching credentials were found.

Package auth imports 7 packages (graph). Updated 2019-04-29. Refresh now. Tools for package owners.