Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

internal

v1.85.0
google.golang.org/grpc/credentials/google/internal

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

3 matches

Top ↑

Package internal contains functionality internal to the google package.

Variables

BackoffStrategy (2 declarations)

var (
	// BackoffStrategy is the backoff strategy to use when token fetch fails.
	BackoffStrategy backoff.Strategy

	// IDTokenFetcher returns a function used to fetch an ID token for the
	// given audience. It takes a ctx and audience string as parameter and
	// returns the raw JWT token string, token's expiration timestamp and
	// error if encountered.
	IDTokenFetcher func() func(context.Context, string) (string, time.Time, error)
)

The following variables are overridden in tests.

Dependency graph