refactor rules -> routes, routes -> frontends

This commit is contained in:
emile 2015-09-15 16:09:21 +02:00
parent 74ae3eaa01
commit a4f542c02f
7 changed files with 62 additions and 62 deletions

View file

@ -34,17 +34,17 @@ type Server struct {
Weight int
}
type Rule struct {
type Route struct {
Category string
Value string
}
type Route struct {
type Frontend struct {
Backend string
Rules map[string]Rule
Routes map[string]Route
}
type Configuration struct {
Backends map[string]Backend
Routes map[string]Route
Frontends map[string]Frontend
}