2022-07-05 23:13:34 +02:00
|
|
|
package config
|
|
|
|
|
|
|
|
// ClientExt returns optional client config values by namespace.
|
2024-01-20 15:01:40 +01:00
|
|
|
func ClientExt(c *Config, t ClientType) Map {
|
2022-10-09 17:16:49 +02:00
|
|
|
configs := Ext()
|
2024-01-20 15:01:40 +01:00
|
|
|
result := make(Map, len(configs))
|
2022-07-05 23:13:34 +02:00
|
|
|
|
|
|
|
for _, conf := range configs {
|
|
|
|
result[conf.name] = conf.clientValues(c, t)
|
|
|
|
}
|
|
|
|
|
|
|
|
return result
|
|
|
|
}
|