Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InvalidRule = errors.New("Invalid Rule") NoRuleApplicable = errors.New("No rule applicable") )
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) TakeDetour ¶
func (this *Router) TakeDetour(dest v2net.Destination) (string, error)
type RouterFactory ¶
type RouterFactory struct { }
type RouterRuleConfig ¶ added in v1.1.1
type RouterRuleConfig interface {
Rules() []Rule
}
Click to show internal directories.
Click to hide internal directories.