Versions in this module Expand all Collapse all v1 v1.2.0 Nov 11, 2023 Changes in this version + func Disable(devName string) (string, error) — windows/amd64 + func Enable(devName string) (string, error) — windows/amd64 + func GetAddresses(name string) ([]net.Addr, error) + func SetAddressAndDNSDHCP(devName string) (string, error) — windows/amd64 + func SetAddressAndDNSStatic(devName, ip, mask, gateway string, gwmetric int, dns []string) (string, error) — windows/amd64 + func SetAddressDHCP(devName string) (string, error) — windows/amd64 + func SetAddressStatic(devName, ip, mask, gateway string, gwmetric int) (string, error) — windows/amd64 + func SetDNSDHCP(devName string) (string, error) — windows/amd64 + func SetDNSStatic(devName string, dns []string) (string, error) — windows/amd64