grpcconn

package
v0.96.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(uri, authToken string, opt ...Option) (*grpc.ClientConn, error)

Simple wrapper around grpc.Dial that returns a grpc.ClientConn It sets up the connection with the correct credentials headers

Types

type Option added in v0.92.4

type Option func(*newOptionalArg)

func WithCAFile added in v0.92.4

func WithCAFile(caFilePath string) Option

func WithInsecure added in v0.92.4

func WithInsecure(insecure bool) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL