refactoring unique backend by route

This commit is contained in:
emile 2015-09-09 17:41:33 +02:00
parent c5a91e7d22
commit 6f8f3e449d
6 changed files with 30 additions and 46 deletions

View file

@ -15,7 +15,7 @@ type Rule struct {
}
type Route struct {
Backends []string
Backend string
Rules map[string]Rule
}