// NewConfig returns an instance of Config with reasonable defaults. func NewConfig() *Config { c := &Config{} c.Meta = meta.NewConfig() c.Registration = registration.NewConfig() c.Selfheal = selfheal.NewConfig() return c }
// NewConfig returns an instance of Config with reasonable defaults. func NewConfig() *Config { c := &Config{} c.Meta = meta.NewConfig() c.HTTPD = httpd.NewConfig() c.Database = database.NewConfig() c.RegMeta = regmeta.NewConfig() c.Registration = registration.NewConfig() c.Selfheal = selfheal.NewConfig() return c }