proxy

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyPrefs added in v0.2.1

type ProxyPrefs struct {
	BindAddress  string
	BindPort     uint16
	RemoteServer string
	IdleTimeout  time.Duration
	EnableIPv6   bool
	RemovePorts  bool
	NumWorkers   uint
}

type ProxyServer

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

func New

func New(prefs ProxyPrefs) (*ProxyServer, error)

func (*ProxyServer) Close added in v0.3.0

func (proxy *ProxyServer) Close()

func (*ProxyServer) Start

func (proxy *ProxyServer) Start() error

Jump to

Keyboard shortcuts

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