xnet

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenLoopback

func ListenLoopback(network string, port uint16) ([]net.Listener, error)

Listen announces on the loopback network address.

The network must be "tcp", "tcp4" or "tcp6".

func LookupLoopbackIP

func LookupLoopbackIP() ([]net.IP, error)

LookupLoopbackIP looks up loopback interfaces on the host using the local resolver. It returns a slice of that host's IPv6 and IPv4 addresses.

Types

This section is empty.

Jump to

Keyboard shortcuts

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