Documentation ¶
Index ¶
- func CheckInterface(iface string) (string, error)
- func CreateInterface(iface string) error
- func CreateTun(iface string) (string, error)
- func DelInterface(iface string) (bool, error)
- func InterfaceUp(iface string) error
- func SetIpAddr(iface string, ip string) error
- func SetIpAddr_netlink(iface string, cidrIP string) error
- func SetIpAddr_tenus(iface string, cidrIP string) error
- func SetIpAddr_tun(tunDevice tun.Device, conf *wg_core.WgInterface) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckInterface ¶
func CreateInterface ¶
func DelInterface ¶
func InterfaceUp ¶
func SetIpAddr_tun ¶
func SetIpAddr_tun(tunDevice tun.Device, conf *wg_core.WgInterface) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.