Documentation ¶ Overview ¶ Function listen.Net is complementary to net.Listen function. Index ¶ func Net(ctx context.Context, network, address string) (l net.Listener, err error) 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. Source Files ¶ View all Source files listener.go Click to show internal directories. Click to hide internal directories.