shunt

package
v0.3.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BYPASS_DATA []byte

Functions

func NewShunt

func NewShunt(modes []Mode) proxy.DialerResolverProxy

Types

type DOMAIN_MARK_KEY

type DOMAIN_MARK_KEY struct{}

type ForceModeKey

type ForceModeKey struct{}

type IP_MARK_KEY

type IP_MARK_KEY struct{}

func (IP_MARK_KEY) String

func (IP_MARK_KEY) String() string

type MODE_MARK_KEY

type MODE_MARK_KEY struct{}

func (MODE_MARK_KEY) String

func (MODE_MARK_KEY) String() string

type Mode

type Mode struct {
	Mode     bypass.Mode
	Default  bool
	Dialer   proxy.Proxy
	Resolver dns.DNS
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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