package
Version:
v0.0.0-...-851e5e8
Opens a new window with list of versions in this module.
Published: Mar 28, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package iprouter provides Go API for interacting with ip route.
Router uses `ip route` under the hood.
Add calls ip route add command and appends route to a routes list if it does not exist yet
Flush calls ip route delete command for all existing routes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.