proxy

package
v0.0.0-...-83f9fa1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProxyTypes

func ProxyTypes() []string

func RegisterProxy

func RegisterProxy(engine string, proxy Proxy)

Types

type Proxy

type Proxy interface {
	Start() error
	Stop() error
	Configure(*kv.KV, interface{}) error
}

Proxy represents proxy interface

func New

func New(ptype string, cfg interface{}, engine *kv.KV) (Proxy, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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