package
2.12.0+incompatible
Repository: https://github.com/adguardteam/adguarddns.git
Documentation: pkg.go.dev

# Functions

New returns a new *Limiter.
NewListenConfig returns a new netext.ListenConfig that uses l to limit the number of active stream-connections.

# Structs

Config is the configuration structure for the stream-connection limiter.
ConnMetricsData is an alias for a structure that contains the information about a stream-connection.
EmptyMetrics is the implementation of the [Metrics] interface that does nothing.
Limiter is the stream-connection limiter.
ListenConfig is a [netext.ListenConfig] that uses a [*Limiter] to limit the number of active stream-connections.

# Interfaces

Metrics is an interface used for collection of the stream-connections statistics.