Rework servers load-balancer to use the WRR
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
This commit is contained in:
parent
67d9c8da0b
commit
fadee5e87b
70 changed files with 2085 additions and 2211 deletions
|
@ -15,6 +15,12 @@ const (
|
|||
StatusWarning = "warning"
|
||||
)
|
||||
|
||||
// Status of the servers.
|
||||
const (
|
||||
StatusUp = "UP"
|
||||
StatusDown = "DOWN"
|
||||
)
|
||||
|
||||
// Configuration holds the information about the currently running traefik instance.
|
||||
type Configuration struct {
|
||||
Routers map[string]*RouterInfo `json:"routers,omitempty"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue