aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/jackpal/gateway/gateway_unimplemented.go
diff options
context:
space:
mode:
Diffstat (limited to 'Godeps/_workspace/src/github.com/jackpal/gateway/gateway_unimplemented.go')
-rw-r--r--Godeps/_workspace/src/github.com/jackpal/gateway/gateway_unimplemented.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/jackpal/gateway/gateway_unimplemented.go b/Godeps/_workspace/src/github.com/jackpal/gateway/gateway_unimplemented.go
new file mode 100644
index 000000000..35042b910
--- /dev/null
+++ b/Godeps/_workspace/src/github.com/jackpal/gateway/gateway_unimplemented.go
@@ -0,0 +1,14 @@
+// +build !darwin,!linux,!windows
+
+package gateway
+
+import (
+ "fmt"
+ "net"
+ "runtime"
+)
+
+func DiscoverGateway() (ip net.IP, err error) {
+ err = fmt.Errorf("DiscoverGateway not implemented for OS %s", runtime.GOOS)
+ return
+}