proxy

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr        string `json:"addr"`
	IsAnonymous bool   `json:"is_anonymous"`
	Debug       bool   `json:"debug"`
}

func NewConfig

func NewConfig() *Config

type Proxy

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

func NewProxy

func NewProxy(cfg *Config) *Proxy

func (*Proxy) Close

func (p *Proxy) Close()

func (*Proxy) Start

func (p *Proxy) Start() error

Jump to

Keyboard shortcuts

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