hipache

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MissingRedisUrlError = errors.New("redis url not specified")
)
View Source
var (
	WrongSchemeError = errors.New("scheme is not redis://")
)

Functions

func NewHipacheBackend

func NewHipacheBackend(opts shared.OptionMap) (backends.Backend, error)

Types

type HipacheBackend

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

func (*HipacheBackend) AddEndpoint

func (hb *HipacheBackend) AddEndpoint(
	h shared.Host,
	e shared.Endpoint,
) error

func (*HipacheBackend) Initialise

func (hb *HipacheBackend) Initialise() error

func (*HipacheBackend) ListHosts

func (hb *HipacheBackend) ListHosts() (*shared.HostList, error)

func (*HipacheBackend) RemoveEndpoint

func (hb *HipacheBackend) RemoveEndpoint(
	h shared.Host,
	e shared.Endpoint,
) error

Jump to

Keyboard shortcuts

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