package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Mar 14, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Policy represents the routing decision
Router evaluates target addresses against a set of rules
NewRouter creates a new router with the given rules and default policy
Route resolves the target routing policy for a given host (IP or domain)
targetAddr can be "example.com:443" or "1.2.3.4:80" or just the hostname.
Rule defines a single routing condition and its target policy
Source Files
¶
Click to show internal directories.
Click to hide internal directories.