refactoring unique backend by route
This commit is contained in:
parent
c5a91e7d22
commit
6f8f3e449d
6 changed files with 30 additions and 46 deletions
|
@ -15,7 +15,7 @@ type Rule struct {
|
|||
}
|
||||
|
||||
type Route struct {
|
||||
Backends []string
|
||||
Backend string
|
||||
Rules map[string]Rule
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue