constants

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DistributionPrimaryDns   = iota
	DistributionSecondaryDns = iota
)
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 CacheSize = 1000
View Source
const (
	DbFileName = "config.json"
)
View Source
const DefaultDnsServer = "8.8.8.8"
View Source
const (
	DefaultHubPort = 9000
)
View Source
const DnsPort = "53"
View Source
const (
	Version = "v0.0.1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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