Documentation ¶
Overview ¶
Package tun provides functionality to create and manage TUN Devices
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInterfaceAddresses ¶
Get Device Network Interfaces
Types ¶
type TunConfig ¶
type TunConfig struct { // Maximum transmission unit MTU int // IP Address of the Device IP net.IP // CIDR network of the Device CIDR *net.IPNet }
Tun Config
func NewTunConfig ¶
Create Tun Config
Click to show internal directories.
Click to hide internal directories.