direct

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default netapi.Proxy = NewDirect()

Functions

func NewDirect

func NewDirect() netapi.Proxy

Types

type BufferPacketConn added in v0.3.7

type BufferPacketConn interface {
	net.PacketConn
	SetReadBuffer(int) error
	SetWriteBuffer(int) error
}

func NewBufferPacketConn added in v0.3.7

func NewBufferPacketConn(p net.PacketConn) BufferPacketConn

type UDPPacketConn added in v0.3.7

type UDPPacketConn struct {
	BufferPacketConn
	// contains filtered or unexported fields
}

func (*UDPPacketConn) WriteTo added in v0.3.7

func (p *UDPPacketConn) WriteTo(b []byte, addr net.Addr) (_ int, err error)

Jump to

Keyboard shortcuts

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