proxy

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(fish *fish.Fish, address string) error

Types

type ProxyAccess

type ProxyAccess struct {
	// contains filtered or unexported fields
}

func (*ProxyAccess) Allow

func (p *ProxyAccess) Allow(ctx context.Context, req *socks5.Request) (context.Context, bool)

type ResolverSkip

type ResolverSkip struct{}

func (ResolverSkip) Resolve

func (d ResolverSkip) Resolve(ctx context.Context, name string) (context.Context, net.IP, error)

Jump to

Keyboard shortcuts

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