finalmask

package
v1.260206.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnSize

type ConnSize interface {
	Size() int32
}

type Tcpmask

type Tcpmask interface {
	TCP()

	WrapConnClient(net.Conn) (net.Conn, error)
	WrapConnServer(net.Conn) (net.Conn, error)
}

type TcpmaskManager

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

func NewTcpmaskManager

func NewTcpmaskManager(tcpmasks []Tcpmask) *TcpmaskManager

func (*TcpmaskManager) WrapConnClient

func (m *TcpmaskManager) WrapConnClient(raw net.Conn) (net.Conn, error)

func (*TcpmaskManager) WrapConnServer

func (m *TcpmaskManager) WrapConnServer(raw net.Conn) (net.Conn, error)

type Udpmask

type Udpmask interface {
	UDP()

	WrapPacketConnClient(raw net.PacketConn, first bool, leaveSize int32, end bool) (net.PacketConn, error)
	WrapPacketConnServer(raw net.PacketConn, first bool, leaveSize int32, end bool) (net.PacketConn, error)
}

type UdpmaskManager

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

func NewUdpmaskManager

func NewUdpmaskManager(udpmasks []Udpmask) *UdpmaskManager

func (*UdpmaskManager) WrapPacketConnClient

func (m *UdpmaskManager) WrapPacketConnClient(raw net.PacketConn) (net.PacketConn, error)

func (*UdpmaskManager) WrapPacketConnServer

func (m *UdpmaskManager) WrapPacketConnServer(raw net.PacketConn) (net.PacketConn, error)

Directories

Path Synopsis
header
dns
utp
mkcp
Package dns deals with encoding and decoding DNS wire format.
Package dns deals with encoding and decoding DNS wire format.

Jump to

Keyboard shortcuts

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