connections

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0, MIT Imports: 3 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
}

func New

func New(localAddr string, opts ...grpc.DialOption) *Manager

func (*Manager) ByAddress

func (m *Manager) ByAddress(target string) (*Conn, error)

func (*Manager) Close

func (m *Manager) Close() (err error)

func (*Manager) Get

func (m *Manager) Get(peer, target string) (*Conn, error)

func (*Manager) LocalAddress

func (m *Manager) LocalAddress() string

Jump to

Keyboard shortcuts

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