proxy

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 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 ProxyPrefs added in v0.2.1

type ProxyPrefs struct {
	BindAddress  string
	RemoteServer string
	IdleTimeout  time.Duration
}

type ProxyServer

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

func New

func New(prefs ProxyPrefs) (*ProxyServer, error)

func (*ProxyServer) Start

func (proxy *ProxyServer) Start() error

func (*ProxyServer) Stop

func (proxy *ProxyServer) Stop()

Jump to

Keyboard shortcuts

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