redirector

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeMatchCidr    = "match_cidr"
	TypeMisMatchCidr = "mismatch_cidr"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Redirector

type Redirector func(src outbound.IGroup, req, resp *dns.Msg) outbound.IGroup

func NewRedirector

func NewRedirector(globalConf config.Conf, groups map[string]outbound.IGroup) (Redirector, error)

Jump to

Keyboard shortcuts

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