pkg/transport/limit_listen.go
func LimitListener(l net.Listener, n int) net.Listener {
	return &limitListener{l, make(chan struct{}, n)}
}
func LimitListener(l net.Listener, n int) net.Listener {
	return &limitListener{l, make(chan struct{}, n)}
}
func LimitListener ( l net . Listener , n int ) net . Listener { return & limitListener { l , make ( chan struct { } , n ) } }
// LimitListener returns a Listener that accepts at most n simultaneous
// connections from the provided Listener.
LimitListener returns a Listener that accepts at most n simultaneous connections from the provided Listener .