Consul catalog provider

Fixes #176
This commit is contained in:
David Keijser 2016-02-02 18:03:40 +01:00
parent 4277fe2fdb
commit ae275c9e60
12 changed files with 546 additions and 17 deletions

View file

@ -184,6 +184,9 @@ func (server *Server) configureProviders() {
if server.globalConfiguration.Consul != nil {
server.providers = append(server.providers, server.globalConfiguration.Consul)
}
if server.globalConfiguration.ConsulCatalog != nil {
server.providers = append(server.providers, server.globalConfiguration.ConsulCatalog)
}
if server.globalConfiguration.Etcd != nil {
server.providers = append(server.providers, server.globalConfiguration.Etcd)
}