vnet

package
v3.4.19 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (*VNet, *VNet)

Types

type VNet

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

func (*VNet) Close

func (c *VNet) Close() error

func (*VNet) LocalAddr

func (c *VNet) LocalAddr() net.Addr

func (*VNet) Read

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

func (*VNet) RemoteAddr

func (c *VNet) RemoteAddr() net.Addr

func (*VNet) SetDeadline

func (c *VNet) SetDeadline(t time.Time) error

func (*VNet) SetReadDeadline

func (c *VNet) SetReadDeadline(t time.Time) error

func (*VNet) SetWriteDeadline

func (c *VNet) SetWriteDeadline(t time.Time) error

func (*VNet) Write

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

Jump to

Keyboard shortcuts

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