Back to godoc.org
golang.org/x/net / netutil

Package netutil

v0.0.0-...-4dfa261
Latest Go to latest

The latest major version is .

Published: Sep 26, 2018 | License: BSD-3-Clause | Module: golang.org/x/net

Overview

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

Index

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier