deviceshifutcp

package
v0.37.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TCPDefaultPortStr = "8081"
	ProtocolTCPStr    = "tcp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionMetaData

type ConnectionMetaData struct {
	ForwardAddress string
	NetListener    net.Listener
}

func (*ConnectionMetaData) Start

func (m *ConnectionMetaData) Start(stopCh <-chan struct{}) error

type DeviceShifu

type DeviceShifu struct {
	TcpConnection *ConnectionMetaData
	// contains filtered or unexported fields
}

func New

func New(deviceShifuMetadata *deviceshifubase.DeviceShifuMetaData) (*DeviceShifu, error)

func (*DeviceShifu) Start

func (ds *DeviceShifu) Start(stopCh <-chan struct{}) error

func (*DeviceShifu) Stop

func (ds *DeviceShifu) Stop() error

Jump to

Keyboard shortcuts

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