Back to godoc.org

Package netutil

v0.2.0
Latest Go to latest

The latest major version is .

Published: Dec 23, 2013 | Licenses: Apache-2.0 , BSD-3-Clause | Module: go.etcd.io/etcd

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