Documentation ¶
Index ¶
- func AddCA(pemBytes []byte) (err error)
- func CloseAll()
- func Dial(ctx context.Context, target string) (*grpc.ClientConn, error)
- func GetCallOptions() (opts []grpc.CallOption)
- func GetDialOptions() (opts []grpc.DialOption)
- func SetAuth(authType, authValue string)
- func SetDumpRequests(dump bool)
- func SetInsecure(insecure bool)
- func SetLogger(logger log.Interface)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCallOptions ¶
func GetCallOptions() (opts []grpc.CallOption)
GetCallOptions returns the gRPC call options.
func GetDialOptions ¶
func GetDialOptions() (opts []grpc.DialOption)
GetDialOptions gets the dial options for a gRPC connection.
func SetAuth ¶
func SetAuth(authType, authValue string)
SetAuth sets the authentication information.
func SetDumpRequests ¶
func SetDumpRequests(dump bool)
SetDumpRequests configures the API options to dump gRPC requests.
func SetInsecure ¶
func SetInsecure(insecure bool)
SetInsecure configures the API to use insecure connections.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.