Documentation

Overview

Package netutil provides network utility functions, complementing the more common ones in the net package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LimitListener

func LimitListener(l net.Listener, n int) net.Listener

LimitListener returns a Listener that accepts at most n simultaneous connections from the provided Listener.

Types

This section is empty.

Source Files