proxy

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

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

Proxy proxy struct

func New

func New(l net.Listener, u *upstream.Upstream, t time.Duration, dumpTCP uint64, dumpPing bool, maxRetry int, logger *zap.Logger) *Proxy

New create new proxy

func (*Proxy) Start

func (p *Proxy) Start(ctx context.Context) error

Start start new proxy

Jump to

Keyboard shortcuts

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