Documentation
¶
Index ¶
- func AddRoute(destination, gateway string) error
- func Command(cmd string, agrs ...any) (string, error)
- func CreateTun(name, ip string, mtu uint32) error
- func DeleteTun(name string) error
- func GetOriginalDNS() []string
- func RestoreDNS(currentAddr string) error
- func SetDNS(dns []string) error
- type DNSConfig
- type NetworkService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOriginalDNS ¶
func GetOriginalDNS() []string
func RestoreDNS ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.