Versions in this module Expand all Collapse all v0 v0.1.1 Dec 7, 2014 v0.1.0 Dec 7, 2014 Changes in this version + type Config struct + ProtectedAPIHost string + PublicAPIHost string + type Endpoint struct + ID string + Name string + URL string + func NewEndpoint(name, listenIP string, listenPort int) (*Endpoint, error) + func (e *Endpoint) String() string + type Location struct + Host string + ID string + Middlewares []middleware.Middleware + Options LocationOptions + Path string + Upstream string + func NewLocation(host string, methods []string, path, upstream string, ...) *Location + func (l *Location) String() string + type LocationOptions struct + FailoverPredicate string + func (o LocationOptions) String() string + type Registry struct + func NewRegistry(config Config) *Registry + func (r *Registry) RegisterEndpoint(e *Endpoint) error + func (r *Registry) RegisterLocation(l *Location) error