Documentation ¶
Overview ¶
Package remote implements backends for config client which will make calls to the real Config Service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDialOptions ¶
func DefaultDialOptions() []grpc.DialOption
DefaultDialOptions returns default grpc dial options.
Types ¶
type ClientFactory ¶
ClientFactory returns HTTP client to use (given a context).
See 'New' for more details.
type Options ¶
type Options struct { // Host is the hostname of a LUCI Config service. Host string // Creds is the credential to use when creating the grpc connection. Creds credentials.PerRPCCredentials // UserAgent is the optional additional User-Agent fragment which will be // appended to gRPC calls // // If empty, defaultUserAgent is used. UserAgent string // DialOpts are the options to use to dial. // // If nil, DefaultDialOptions() are used DialOpts []grpc.DialOption }
Click to show internal directories.
Click to hide internal directories.