A library for discovering the address of a LAN gateway.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2016-05-22 09:57:39 +09:00
gateway_common.go Make Windows route print parsing more robust (fixes #5) 2016-05-22 09:57:39 +09:00
gateway_darwin.go Use full path to /sbin/route 2016-03-07 23:18:23 -08:00
gateway_linux.go Fix capitalization of gateway 2015-04-18 16:35:18 -07:00
gateway_test.go Make Windows route print parsing more robust (fixes #5) 2016-05-22 09:57:39 +09:00
gateway_unimplemented.go Handle non-darwin,linux,windows OSs, add test 2015-04-18 14:33:10 -07:00
gateway_windows.go Make Windows route print parsing more robust (fixes #5) 2016-05-22 09:57:39 +09:00
LICENSE Initial checkin. 2015-04-18 10:40:44 -07:00
README.md Update README.md 2015-04-18 11:33:51 -07:00

gateway

A very simple library for discovering the IP address of the local LAN gateway.

Provides implementations for Linux, OS X (Darwin) and Windows.

Pull requests for other OSs happily considered!