proxy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 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 Proxy

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

Proxy proxy struct

func NewProxy

func NewProxy(listen string, timeout time.Duration, upstream string, 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