syncthing/vendor/github.com/jackpal/gateway
Jakob Borg 944ddcf768
all: Become a Go module (fixes #5148) (#5384)
* go mod init; rm -rf vendor

* tweak proto files and generation

* go mod vendor

* clean up build.go

* protobuf literals in tests

* downgrade gogo/protobuf
2018-12-18 12:36:38 +01:00
..
.travis.yml all: Become a Go module (fixes #5148) (#5384) 2018-12-18 12:36:38 +01:00
LICENSE vendor: Revert to github.com/jackpal/gateway instead of fork 2016-06-02 20:40:30 +00:00
README.md all: Become a Go module (fixes #5148) (#5384) 2018-12-18 12:36:38 +01:00
gateway_common.go vendor: Revert to github.com/jackpal/gateway instead of fork 2016-06-02 20:40:30 +00:00
gateway_darwin.go vendor: Revert to github.com/jackpal/gateway instead of fork 2016-06-02 20:40:30 +00:00
gateway_freebsd.go vendor: Revert to github.com/jackpal/gateway instead of fork 2016-06-02 20:40:30 +00:00
gateway_linux.go vendor: Mega update all dependencies 2017-04-05 14:34:41 +00:00
gateway_solaris.go vendor: Revert to github.com/jackpal/gateway instead of fork 2016-06-02 20:40:30 +00:00
gateway_unimplemented.go vendor: Revert to github.com/jackpal/gateway instead of fork 2016-06-02 20:40:30 +00:00
gateway_windows.go vendor: Revert to github.com/jackpal/gateway instead of fork 2016-06-02 20:40:30 +00:00

README.md

gateway

A simple library for discovering the IP address of the default gateway.

Build Status

Provides implementations for:

  • FreeBSD
  • Linux
  • OS X (Darwin)
  • Solaris
  • Windows

Other platforms use an implementation that always returns an error.

Pull requests for other OSs happily considered!