WithConfigHost adds a list of config host settings.
(configHost ...config.Host)
| 119 | |
| 120 | // WithConfigHost adds a list of config host settings. |
| 121 | func WithConfigHost(configHost ...config.Host) Opt { |
| 122 | return func(rc *RegClient) { |
| 123 | rc.hostLoad("host", configHost) |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | // WithConfigHostDefault adds default settings for new hosts. |
| 128 | func WithConfigHostDefault(configHost config.Host) Opt { |
searching dependent graphs…