backends

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2014 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BackendMap map[string]BackendInitFunc
)

Functions

This section is empty.

Types

type Backend

type Backend interface {
	AddEndpoint(h shared.Host, e shared.Endpoint) error
	RemoveEndpoint(h shared.Host, e shared.Endpoint) error
	ListHosts() (*shared.HostList, error)
	Initialise() error
}

type BackendInitFunc

type BackendInitFunc func(opt shared.OptionMap) (Backend, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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