gateway

package
v0.0.0-...-d87022b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2019 License: GPL-3.0, BSD-3-Clause Imports: 4 Imported by: 0

README

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!

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverGateway

func DiscoverGateway() (ip net.IP, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL