(providers ...Provider)
| 7 | } |
| 8 | |
| 9 | func NewMultiProvider(providers ...Provider) *MultiProvider { |
| 10 | return &MultiProvider{ |
| 11 | providers: providers, |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | func (p *MultiProvider) Get(ctx context.Context, name string) (string, bool) { |
| 16 | for _, provider := range p.providers { |
no outgoing calls