Help us shape the future of Go! Take the 2026 Go Developer Survey

grpcconn

package
v1.93.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 9 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

type Option func(*newOptionalArg)

func WithCAContent added in v1.76.0

func WithCAContent(content string) Option

WithCAContent sets the CA certificate content (PEM format or base64-encoded)

func WithCAFile

func WithCAFile(caFilePath string) Option

func WithInsecure

func WithInsecure(insecure bool) Option

func WithOrgName

func WithOrgName(orgName string) Option

Jump to

Keyboard shortcuts

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