util-go/net/gateway/gateway_unimplemented.go
crusader 595f56aa7c ing
2018-04-12 20:50:15 +09:00

15 lines
256 B
Go

// +build !darwin,!linux,!windows,!solaris,!freebsd
package gateway
import (
"fmt"
"net"
"runtime"
)
func DiscoverGateway() (ip net.IP, iface string, err error) {
err = fmt.Errorf("DiscoverGateway not implemented for OS %s", runtime.GOOS)
return
}