connection

package
v0.7.18 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager is a connection manager

func NewManager

func NewManager() *Manager

NewManager creates a new connection manager

func (*Manager) Close

func (m *Manager) Close() error

Close closes the connection manager

func (*Manager) Connect

func (m *Manager) Connect(address string, opts ...grpc.DialOption) (*grpc.ClientConn, error)

Connect connects to the given address

Jump to

Keyboard shortcuts

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