Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RouterNotFound = errors.New("Router not found.")
)
Functions ¶
func RegisterRouter ¶
func RegisterRouter(name string, factory RouterFactory) error
Types ¶
type Router ¶
type Router interface {
TakeDetour(v2net.Destination) (config.DetourTag, error)
}
func CreateRouter ¶
type RouterFactory ¶
Click to show internal directories.
Click to hide internal directories.