Documentation ¶ Index ¶ type Route func (r Route) Domain() string type Table func (t *Table) Add(route Route) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Route ¶ type Route struct { Name string `json:"name,omitempty"` Ip string `json:"ip"` Proto string `json:"proto"` Port string `json:"port,omitempty"` Target string `json:"target"` Action string `json:"action,omitempty"` } func (Route) Domain ¶ func (r Route) Domain() string type Table ¶ type Table struct { Name string `json:"name"` Routes []Route `json:"routes"` } func (*Table) Add ¶ func (t *Table) Add(route Route) Source Files ¶ View all Source files route.go Click to show internal directories. Click to hide internal directories.