cfg

package
v1.6.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Rule        distribution.Config
	Proxy       constant.Proxy
	Device      *tun.Config
	LocalServer local_server.Cfg
	HijackDns   configuration.HijackDns
	BlockQuic   bool
	Stack       string
}

func NewTun added in v0.11.0

func NewTun(defaultInterfaceName string) (*Config, error)

type SystemProxyConfig added in v0.11.0

type SystemProxyConfig struct {
	Rule        distribution.SystemProxyConfig
	Proxy       constant.Proxy
	LocalServer local_server.Cfg
}

func NewSystemProxy added in v0.11.0

func NewSystemProxy() (*SystemProxyConfig, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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