enhancer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMTU = 1350
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Enhancer

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

func NewEnhancer

func NewEnhancer(config EnhancerConfig) *Enhancer

func (*Enhancer) Close

func (eh *Enhancer) Close() error

func (*Enhancer) Start

func (eh *Enhancer) Start() (err error)

type EnhancerConfig

type EnhancerConfig struct {
	Tun            tun.TunConfig
	FakeDNS        string
	DisableRewrite bool
	DnsHijack      []netip.AddrPort
}

Jump to

Keyboard shortcuts

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