connection

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection interface {
	Create(host string) (*grpc.ClientConn, error)
}

func New

type Insecure

type Insecure struct {
	// contains filtered or unexported fields
}

func NewInsecure

func NewInsecure(l log.Logger) *Insecure

func (*Insecure) Create

func (*Insecure) Create(host string) (*grpc.ClientConn, error)

type Secure

type Secure struct {
	// contains filtered or unexported fields
}

func NewSecure

func NewSecure(l log.Logger, cfg *config.ClientConfig) *Secure

func (*Secure) Create

func (s *Secure) Create(host string) (*grpc.ClientConn, error)

Jump to

Keyboard shortcuts

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