syncthing/vendor/github.com/jackpal/gateway/gateway_unimplemented.go

15 lines
224 B
Go
Raw Normal View History

// +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
}