Move config objects to configuration.go

This commit is contained in:
emile 2015-10-22 13:39:32 +02:00
parent 46d7cc83c9
commit 1fdff9dae4
2 changed files with 7 additions and 7 deletions

View file

@ -103,3 +103,10 @@ func NewLoadBalancerMethod(loadBalancer *LoadBalancer) (LoadBalancerMethod, erro
} }
var ErrInvalidLoadBalancerMethod = errors.New("Invalid method, using default") var ErrInvalidLoadBalancerMethod = errors.New("Invalid method, using default")
type configMessage struct {
providerName string
configuration *Configuration
}
type configs map[string]*Configuration

View file

@ -43,13 +43,6 @@ var (
}) })
) )
type configMessage struct {
providerName string
configuration *Configuration
}
type configs map[string]*Configuration
func main() { func main() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())
kingpin.Version(Version + " built on the " + BuildDate) kingpin.Version(Version + " built on the " + BuildDate)