util-go/net/gateway/gateway_unimplemented.go

15 lines
256 B
Go
Raw Permalink Normal View History

2018-08-22 05:50:46 +00:00
// +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
}