Documentation ¶
Overview ¶
Package internal supports the options and transport packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DialSettings ¶
type DialSettings struct { Endpoint string Scopes []string ServiceAccountJSONFilename string // if set, TokenSource is ignored. TokenSource oauth2.TokenSource UserAgent string APIKey string HTTPClient *http.Client GRPCDialOpts []grpc.DialOption GRPCConn *grpc.ClientConn }
DialSettings holds information needed to establish a connection with a Google API service.
type PoolResolver ¶
type PoolResolver struct {
// contains filtered or unexported fields
}
PoolResolver provides a fixed list of addresses to load balance between and does not provide further updates.
func NewPoolResolver ¶
func NewPoolResolver(size int, o *DialSettings) *PoolResolver
NewPoolResolver returns a PoolResolver This is an EXPERIMENTAL API and may be changed or removed in the future.
func (*PoolResolver) Close ¶
func (r *PoolResolver) Close()
Click to show internal directories.
Click to hide internal directories.