Add routes priorities

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-06-03 17:58:33 +02:00
parent 7cdd062432
commit 208998972a
No known key found for this signature in database
GPG key ID: D808B4C167352E59
9 changed files with 24 additions and 15 deletions

View file

@ -52,6 +52,7 @@ type Frontend struct {
Backend string `json:"backend,omitempty"`
Routes map[string]Route `json:"routes,omitempty"`
PassHostHeader bool `json:"passHostHeader,omitempty"`
Priority int `json:"priority,omitempty"`
}
// LoadBalancerMethod holds the method of load balancing to use.