Versions in this module Expand all Collapse all v0 v0.3.1 Sep 21, 2016 v0.3.0 Sep 13, 2016 Changes in this version + var DefaultConfig = Config + var Flags = []cli.Flag + func Validate(validators []ValidatorFunc) error + type Config struct + App []string + Controller Controller + Endpoint Endpoint + Log bool + LogLevel string + LogstashServer string + Proxy bool + Register bool + Registry Registry + Service Service + Supervise bool + func New(context *cli.Context) (*Config, error) + func (c *Config) Validate() error + type Controller struct + Poll time.Duration + Token string + URL string + type Endpoint struct + Host string + Port int + Type string + type Registry struct + Poll time.Duration + Token string + URL string + type Service struct + Name string + Tags []string + type ValidatorFunc func() error + func IsInRange(name string, value, min, max int) ValidatorFunc + func IsInRangeDuration(name string, value, min, max time.Duration) ValidatorFunc + func IsInSet(name, value string, set []string) ValidatorFunc + func IsNotEmpty(name, value string) ValidatorFunc + func IsValidURL(name, value string) ValidatorFunc