Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRouter ¶
type DefaultRouter struct { Prior []string Rules map[string]rule.Rule Egress map[string]egress.Egress EgressGroup map[string][]string }
func NewDefaultRouter ¶
func NewDefaultRouter(e map[string]egress.Egress) *DefaultRouter
func (*DefaultRouter) Insert ¶
func (d *DefaultRouter) Insert(ruleType, pattern, out, policy string, others ...any)
Click to show internal directories.
Click to hide internal directories.