connman

package
v0.0.0-...-fc91ca8 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoConnection = errors.New("no connection")
)

Functions

This section is empty.

Types

type ConnectionManager

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

ConnectionManager manages connections to devices It's pretty simple now but it'll be responsible for more once we support running multiple controllers

func New

func New() *ConnectionManager

func (*ConnectionManager) Dial

func (m *ConnectionManager) Dial(ctx context.Context, key string) (net.Conn, error)

func (*ConnectionManager) Set

func (m *ConnectionManager) Set(key string, conn net.Conn)

Jump to

Keyboard shortcuts

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