conduit

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conduit

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

func NewConduit

func NewConduit(conn net.Conn, port int) Conduit

func (*Conduit) Close

func (c *Conduit) Close() error

func (*Conduit) Port

func (c *Conduit) Port() int

func (*Conduit) Read

func (c *Conduit) Read(b []byte) (int, error)

func (*Conduit) ReadCopy

func (c *Conduit) ReadCopy() ([]byte, error)

func (*Conduit) SetPort

func (c *Conduit) SetPort(port types.SwitchPortID)

func (*Conduit) Write

func (c *Conduit) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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