netutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package netutil defines useful networking types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(address string) (net.Listener, error)

Listen returns a listener that is compatible with net.Listener but uses a multiaddr listener under the hood.

func RandomPort

func RandomPort() uint16

RandomPort returns a random port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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