14 lines
293 B
Go
14 lines
293 B
Go
|
package config
|
||
|
|
||
|
// ClientExt returns optional client config values by namespace.
|
||
|
func ClientExt(c *Config, t ClientType) Values {
|
||
|
configs := Extensions()
|
||
|
result := make(Values, len(configs))
|
||
|
|
||
|
for _, conf := range configs {
|
||
|
result[conf.name] = conf.clientValues(c, t)
|
||
|
}
|
||
|
|
||
|
return result
|
||
|
}
|