proxy

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: GPL-3.0 Imports: 22 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenWithTCPOption added in v0.0.4

func ListenWithTCPOption(fastOpen, reusePort, noDelay bool, ip net.IP, addr string) (net.Listener, error)

func NewProxy

func NewProxy(config *conf.GlobalConfig) common.Runnable

Types

type Client

type Client struct {
	common.Runnable
	// contains filtered or unexported fields
}

func (*Client) Close added in v0.0.6

func (c *Client) Close() error

func (*Client) Run

func (c *Client) Run() error

type Forward

type Forward struct {
	common.Runnable
	// contains filtered or unexported fields
}

func (*Forward) Close added in v0.0.6

func (f *Forward) Close() error

func (*Forward) Run

func (f *Forward) Run() error

type NAT

type NAT struct {
	common.Runnable
	// contains filtered or unexported fields
}

func (*NAT) Close added in v0.0.6

func (n *NAT) Close() error

func (*NAT) Run

func (n *NAT) Run() error

type Server

type Server struct {
	common.Runnable
	// contains filtered or unexported fields
}

func (*Server) Close added in v0.0.6

func (s *Server) Close() error

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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