Versions in this module Expand all Collapse all v0 v0.7.0 Dec 22, 2014 Changes in this version + type MemBackend struct + ChangesC chan interface{} + ErrorsC chan error + Hosts []*Host + Registry *Registry + Upstreams []*Upstream + func NewMemBackend(r *Registry) *MemBackend + func (m *MemBackend) AddEndpoint(e *Endpoint) (*Endpoint, error) + func (m *MemBackend) AddHost(h *Host) (*Host, error) + func (m *MemBackend) AddHostListener(hostname string, listener *Listener) (*Listener, error) + func (m *MemBackend) AddLocation(loc *Location) (*Location, error) + func (m *MemBackend) AddLocationMiddleware(hostname, locationId string, mi *MiddlewareInstance) (*MiddlewareInstance, error) + func (m *MemBackend) AddUpstream(up *Upstream) (*Upstream, error) + func (m *MemBackend) Close() + func (m *MemBackend) DeleteEndpoint(upstreamId, id string) error + func (m *MemBackend) DeleteHost(name string) error + func (m *MemBackend) DeleteHostListener(hostname string, listenerId string) error + func (m *MemBackend) DeleteLocation(hostname, id string) error + func (m *MemBackend) DeleteLocationMiddleware(hostname, locationId, mType, id string) error + func (m *MemBackend) DeleteUpstream(id string) error + func (m *MemBackend) GetEndpoint(upstreamId, id string) (*Endpoint, error) + func (m *MemBackend) GetHost(name string) (*Host, error) + func (m *MemBackend) GetHosts() ([]*Host, error) + func (m *MemBackend) GetLocation(hostname, id string) (*Location, error) + func (m *MemBackend) GetLocationMiddleware(hostname, locationId string, mType, id string) (*MiddlewareInstance, error) + func (m *MemBackend) GetRegistry() *Registry + func (m *MemBackend) GetUpstream(id string) (*Upstream, error) + func (m *MemBackend) GetUpstreams() ([]*Upstream, error) + func (m *MemBackend) UpdateHostKeyPair(hostname string, keyPair *KeyPair) (*Host, error) + func (m *MemBackend) UpdateLocationMiddleware(hostname, locationId string, mi *MiddlewareInstance) (*MiddlewareInstance, error) + func (m *MemBackend) UpdateLocationOptions(hostname, id string, o LocationOptions) (*Location, error) + func (m *MemBackend) UpdateLocationUpstream(hostname, id string, upstreamId string) (*Location, error) + func (m *MemBackend) UpdateUpstreamOptions(id string, o UpstreamOptions) (*Upstream, error) + func (m *MemBackend) WatchChanges(changes chan interface{}, cancelC chan bool) error