func golang.org/x/pkgsite/internal/auth.NewClient
2 uses
golang.org/x/pkgsite/internal/auth (current package)
auth.go#L28: func NewClient(ctx context.Context, jsonCreds []byte, useExp bool) (_ *http.Client, err error) {
golang.org/x/pkgsite/cmd/prober
main.go#L238: client, err = auth.NewClient(ctx, jsonCreds, os.Getenv("GO_DISCOVERY_USE_EXP_AUTH") == "true")
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |