constants

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TunName      = "utun"
	TunLocalAddr = "10.255.0.2"
	TunGateway   = "10.255.0.1"
	TunMask      = "255.255.255.255"
	TunMtu       = 1500
)
View Source
const (
	DbFileName = "config.json"
)
View Source
const (
	DefaultHubPort = 9000
)
View Source
const DnsPort = "53"

Variables

View Source
var (
	Version   = "undefined"
	BuildTime = "undefined"
)
View Source
var Path path

Functions

This section is empty.

Types

type DnsRule

type DnsRule string
const (
	DistributionLocalDns  DnsRule = "local"
	DistributionRemoteDns DnsRule = "remote"
)

type IpRule

type IpRule int
const (
	DistributionBypass   IpRule = 0
	DistributionProxy    IpRule = 1
	DistributionNotFound IpRule = 2
)

Jump to

Keyboard shortcuts

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