forked from Ivasoft/traefik
Refactor globalConfiguration / WebProvider
This commit is contained in:
committed by
Traefiker
parent
92fb86b66f
commit
e0af17a17a
@@ -156,6 +156,9 @@ func NewLoadBalancerMethod(loadBalancer *LoadBalancer) (LoadBalancerMethod, erro
|
||||
return Wrr, fmt.Errorf("invalid load-balancing method '%s'", method)
|
||||
}
|
||||
|
||||
// Configurations is for currentConfigurations Map
|
||||
type Configurations map[string]*Configuration
|
||||
|
||||
// Configuration of a provider.
|
||||
type Configuration struct {
|
||||
Backends map[string]*Backend `json:"backends,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user