Involved Source Filesconn_pool.gocreds.go
Package internal supports the options and transport packages.
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
ConnPool is a pool of grpc.ClientConns.
Close closes every ClientConn in the pool.
The error returned by Close may be a single error or multiple errors.
Conn returns a ClientConn from the pool.
Conns aren't returned to the pool.
Invoke performs a unary RPC and returns after the response is received
into reply.
NewStream begins a streaming RPC.
Num returns the number of connections in the pool.
It will always return the same value.
google.golang.org/api/transport/grpc.connPoolOption
*google.golang.org/api/transport/grpc.roundRobinConnPool
*google.golang.org/api/transport/grpc.singleConnPool
T : google.golang.org/grpc.ClientConnInterface
T : io.Closer
func google.golang.org/api/transport/grpc.DialPool(ctx context.Context, opts ...option.ClientOption) (grpc.ConnPool, error)
func google.golang.org/api/transport/grpc.WithConnPool(p grpc.ConnPool) option.ClientOption
Package-Level Functions (total 6, in which 2 are exported)
Creds returns credential information obtained from DialSettings, or if none, then
it returns default credential information.
QuotaProjectFromCreds returns the quota project from the JSON blob in the provided credentials.
NOTE(cbro): consider promoting this to a field on google.Credentials.
credentialsFromJSON returns a google.Credentials based on the input.
- If the JSON is a service account and no scopes provided, returns self-signed JWT auth flow
- Otherwise, returns OAuth 2.0 flow.
Package-Level Constants (only one, which is unexported)
JSON key file type.
The pages are generated with Goldsv0.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.