config

package
v0.0.0-...-3d9a477 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentComponent = ""
View Source
var DomainSimilarityThreshold float64 = 0.5
View Source
var DummyServerDomain = "mit.edu"

HTTPS Test Configuration not wisc.edu since it returns handshake failure for some reason

View Source
var DummyServerIP = "23.64.108.89"
View Source
var ESNIDomain = "www.cloudflare.com"
View Source
var ESNIIP = "104.16.123.96"
View Source
var EchoServerAddr string = "35.188.143.33"

HTTP Test Configuration

View Source
var EchoServerPort int = 80
View Source
var MagicWord string = "somethingSpecial"
View Source
var NonAlphanumericRegex = regexp.MustCompile(`[^a-zA-Z0-9 ]+`)
View Source
var ProxyCountry = "us"
View Source
var ProxyIP = "35.188.143.33"

SOCKS5 Proxy Configuration

View Source
var ProxyISP = "charter"
View Source
var ProxyPassword = ""
View Source
var ProxyPort = "2408"
View Source
var ProxyType = "socks5"
View Source
var ProxyUsername = ""
View Source
var ResidualTestThreshold float64 = 600

Residual Test Configuration

View Source
var TDigestCompression float64 = 1000
View Source
var TestCount = 30

Global Configuration

View Source
var ThrottlePValThreshold = 0.01

Throttle Test Configuration

View Source
var Timeout = time.Second * 20
View Source
var UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0"

Functions

func DomainWildcards

func DomainWildcards(domain string) []string

For both HTTP and HTTPS

Types

This section is empty.

Jump to

Keyboard shortcuts

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