1
0
mirror of https://github.com/containous/traefik.git synced 2025-01-22 22:03:51 +03:00
traefik/etcd.go

15 lines
334 B
Go
Raw Normal View History

package main
type EtcdProvider struct {
Watch bool
Endpoint string
Prefix string
Filename string
KvProvider *KvProvider
}
func (provider *EtcdProvider) Provide(configurationChan chan<- configMessage) error {
provider.KvProvider = NewEtcdProvider(provider)
return provider.KvProvider.provide(configurationChan)
}