flashlight

package
v0.0.0-...-8b1022e Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2016 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultPackageVersion is the default version of the package for auto-update
	// purposes. while in development mode we probably would not want auto-updates to be
	// applied. Using a big number here prevents such auto-updates without
	// disabling the feature completely. The "make package-*" tool will take care
	// of bumping this version number so you don't have to do it by hand.
	DefaultPackageVersion = "9999.99.99"
)

Variables

View Source
var (

	// PackageVersion is the version of the package to use depending on if we're
	// in development, production, etc.
	PackageVersion = bestPackageVersion()

	// Version is the version of Lantern we're running.
	Version string

	// RevisionDate is the date of the most recent code revision.
	RevisionDate string // The revision date and time that is associated with the version string.

	// BuildDate is the date the code was actually built.
	BuildDate string // The actual date and time the binary was built.

)

Functions

func Run

func Run(httpProxyAddr string,
	socksProxyAddr string,
	configDir string,
	stickyConfig bool,
	proxyAll func() bool,
	flagsAsMap map[string]interface{},
	beforeStart func(cfg *config.Config) bool,
	afterStart func(cfg *config.Config),
	onConfigUpdate func(cfg *config.Config),
	userConfig config.UserConfig,
	onError func(err error),
	deviceID string) error

Run runs a client proxy. It blocks as long as the proxy is running.

Types

This section is empty.

Directories

Path Synopsis
Package app implements the desktop application functionality of flashlight
Package app implements the desktop application functionality of flashlight
+build !stub
+build !stub
flashlight is a lightweight chained proxy that can run in client or server mode.
flashlight is a lightweight chained proxy that can run in client or server mode.
Package ops wraps github.com/getlantern/ops with convenience methods for flashlight
Package ops wraps github.com/getlantern/ops with convenience methods for flashlight
Package proxied provides http.Client implementations that use various combinations of chained and direct domain-fronted proxies.
Package proxied provides http.Client implementations that use various combinations of chained and direct domain-fronted proxies.
package proxy provides the implementations of the client and server proxies
package proxy provides the implementations of the client and server proxies

Jump to

Keyboard shortcuts

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