freedom

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FreedomHandler

type FreedomHandler struct {
	Dialer         i.Dialer
	PacketListener i.PacketListener
	Dns            i.IPResolver
	// contains filtered or unexported fields
}

func New

func New(dialer i.Dialer, pl i.PacketListener, tag string, dns i.IPResolver) *FreedomHandler

func (*FreedomHandler) HandleFlow

func (c *FreedomHandler) HandleFlow(ctx context.Context, dst net.Destination, rw buf.ReaderWriter) error

func (*FreedomHandler) HandlePacketConn

func (c *FreedomHandler) HandlePacketConn(ctx context.Context, dst net.Destination, rw udp.PacketReaderWriter) error

func (*FreedomHandler) Tag

func (c *FreedomHandler) Tag() string

Jump to

Keyboard shortcuts

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