redirector

package
v0.0.0-...-dec2982 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Overview

/ DNS requestを特定のポートにリダイレクトするくん

Index

Constants

View Source
const (
	DNSPort   = 53
	ChainName = "dnsproxy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Redirector

type Redirector interface {
	Start() error
	Close() error
}

func New

func New(addr string) (Redirector, error)

Jump to

Keyboard shortcuts

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