Versions in this module Expand all Collapse all v1 v1.6.0 Nov 10, 2014 Changes in this version + const CloudConfigPollInterval + func Update(mutate func(cfg *Config) error) error type Config + Server *server.ServerConfig + Stats *statreporter.Config + Version int + func Start(updateHandler func(updated *Config)) (*Config, error) + func (cfg *Config) ApplyDefaults() + func (cfg *Config) GetVersion() int + func (cfg *Config) SetVersion(version int) v1.5.12 Nov 19, 2014 v1.5.8 Nov 4, 2014 Changes in this version + const CF + func InConfigDir(filename string) string + type Config struct + Addr string + AdvertisedHost string + Client *client.ClientConfig + CloudConfig string + CloudConfigCA string + Country string + CpuProfile string + InstanceId string + MemProfile string + Portmap int + Role string + StatsAddr string + StatsPeriod time.Duration + StatshubAddr string + func LoadFromDisk() (*Config, error) + func (cfg *Config) HasChangedOnDisk() bool + func (cfg *Config) IsDownstream() bool + func (cfg *Config) IsUpstream() bool + func (cfg *Config) SaveToDisk() error + func (orig *Config) ApplyFlags() *Config + func (orig *Config) UpdatedFrom(updateBytes []byte) (*Config, error) Other modules containing this package github.com/getlantern/flashlight/v7