connection

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 18 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