rule

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Direct = "direct"
	Reject = "reject"
)

built-in proxy policy

Variables

This section is empty.

Functions

This section is empty.

Types

type Rules

type Rules []*rule

func Parse

func Parse(rules []string) (Rules, error)

func (Rules) Match

func (rs Rules) Match(host string) (policy string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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