netutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IpAddress

func IpAddress() string

func LocalIP

func LocalIP() (string, error)

LocalIP gets the first NIC's IP address.

func LocalMac

func LocalMac() (string, error)

LocalMac gets the first NIC's MAC address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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