Documentation
¶
Index ¶
- Constants
- func BlockConfig(s domain.Settings, logPath string) *option.Options
- func Build(n domain.Node, s domain.Settings, logPath string, tun bool) (*option.Options, error)
- func Context(ctx context.Context) context.Context
- func New(s domain.Settings, logPath string) engine.Engine
- func Probe(nodes []domain.Node, s domain.Settings, logPath string) (map[string]engine.Result, error)
- func ProbeConfig(nodes []domain.Node, s domain.Settings, logPath string) *option.Options
- func ProbeTag(i int) string
- func Proxy(n domain.Node, s domain.Settings) (*option.Endpoint, []option.Outbound, error)
- func TunInbound(s domain.Settings, resolverIPs []netip.Prefix) option.Inbound
- type Engine
Constants ¶
View Source
const Tag = "proxy"
Variables ¶
This section is empty.
Functions ¶
func BlockConfig ¶
BlockConfig is a tun that rejects everything
func Probe ¶
func Probe(nodes []domain.Node, s domain.Settings, logPath string) (map[string]engine.Result, error)
Probe dials every node
func ProbeConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.