1
0
Fork 0

Use KvStores as global config source

This commit is contained in:
Martin 2016-06-24 09:58:42 +02:00
parent 9be0c67d5c
commit 056e0fe2d9
15 changed files with 330 additions and 26 deletions

View file

@ -25,11 +25,11 @@ const (
// ConsulCatalog holds configurations of the Consul catalog provider.
type ConsulCatalog struct {
BaseProvider
Endpoint string `description:"Consul server endpoint"`
Domain string `description:"Default domain used"`
client *api.Client
Prefix string
BaseProvider `mapstructure:",squash"`
Endpoint string `description:"Consul server endpoint"`
Domain string `description:"Default domain used"`
client *api.Client
Prefix string
}
type serviceUpdate struct {