listen

package module
v0.0.0-...-e143a7a Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Function listen.Net is complementary to net.Listen function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Net

func Net(ctx context.Context, network, address string) (l net.Listener, err error)

Net announces on all resolved network addresses - not just on the first IPv4 address, like net.Listen does. Context is for address resolution. The addresses are resolved once during listener creation; the set doesn't change during runtime.

Types

This section is empty.

Jump to

Keyboard shortcuts

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