proxy

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Docker *docker.Docker
	Name   string
	Type   string
}

Options represents the proxy options.

type Proxy

type Proxy interface {
	Start() error
	Stop() error
}

Proxy interface represents the application.

func NewProxy

func NewProxy(opts *Options) Proxy

NewProxy creates a new proxy with the given options.

Jump to

Keyboard shortcuts

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