package
0.0.0-20250225105205-8289a55d8107
Repository: https://github.com/mysteriumnetwork/node.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Clean removes all previously added routing rules.
ExcludeIP adds IP based exception to route traffic directly.
ExcludeURL adds exception to route traffic directly for specified URL (host part is usually taken).
NewManager creates a new instance of service that maintain routing table to match current state.
Protect protects provided connection from going through the tunnel.
ProtectUDPConn protects provided UDP connection from going through the tunnel.
RemoveExcludedIP removes IP based exception to route traffic directly.
RemoveExcludedURL removes exception to route traffic directly for specified URL (host part is usually taken).
SetProtectFunc sets the callback for using to protect provided connection from going through the tunnel.
# Variables
DefaultRouter contains a default router used for managing routing tables.
# Interfaces
Manager describes a routing tables management service.