fronted

package
v0.0.0-...-fd97e0e Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2016 License: Apache-2.0, Apache-2.0 Imports: 15 Imported by: 0

README

fronted Travis CI Status Coverage Status GoDoc

To install:

go get github.com/getlantern/fronted

For docs:

godoc github.com/getlantern/fronted

Documentation

Index

Constants

View Source
const (
	NumWorkers = 10 // number of worker goroutines for verifying
)
View Source
const (
	NumberToVetInitially = 20
)

Variables

This section is empty.

Functions

func Configure

func Configure(pool *x509.CertPool, masquerades map[string][]*Masquerade)

func NewDirectHttpClient

func NewDirectHttpClient(timeout time.Duration) *http.Client

Types

type Masquerade

type Masquerade struct {
	// Domain: the domain to use for domain fronting
	Domain string

	// IpAddress: pre-resolved ip address to use instead of Domain (if
	// available)
	IpAddress string
}

Masquerade contains the data for a single masquerade host, including the domain and the root CA.

Jump to

Keyboard shortcuts

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