proxy

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 13 Imported by: 1

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 NewProxy

func NewProxy(listen string, timeout, shutdownTimeout time.Duration, upstream string, enableCompression bool, header http.Header, gr token.Generator) (*Proxy, error)

NewProxy 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