# Packages

Package functions provides additional helper functions to the limit package.

# Functions

NewAIMDLimit will create a new AIMDLimit.
NewDefaultAIMDLimit will create a default AIMDLimit.
NewDefaultGradient2Limit create a default Gradient2Limit.
NewDefaultVegasLimit returns a new default VegasLimit.
NewDefaultVegasLimitWithLimit creates a new VegasLimit.
NewDefaultWindowedLimit will create a new default WindowedLimit.
NewFixedLimit will return a new FixedLimit.
NewGradient2Limit will create a new Gradient2Limit @param initialLimit: Initial limit used by the limiter.
NewGradientLimitWithRegistry will create a new GradientLimitWithRegistry.
NewSettableLimit will create a new SettableLimit.
NewTracedLimit returns a new wrapped Limit with TracedLimit.
NewVegasLimitWithRegistry will create a new VegasLimit.
NewWindowedLimit will create a new WindowedLimit.

# Constants

ProbeDisabled represents the disabled value for probing.

# Structs

AIMDLimit implements a Loss based dynamic Limit that does an additive increment as long as there are no errors and a multiplicative decrement when there is an error.
BuiltinLimitLogger implements a STDOUT limit logger.
FixedLimit is a non dynamic limit with fixed value.
Gradient2Limit implements a concurrency limit algorithm that adjust the limits based on the gradient of change current average RTT and a long term exponentially smoothed average RTT.
GradientLimit implements a concurrency limit algorithm that adjust the limits based on the gradient of change in the samples minimum RTT and absolute minimum RTT allowing for a queue of square root of the current limit.
NoopLimitLogger implements a NO-OP logger, it does nothing.
SettableLimit is a fixed limit that can be changed.
TracedLimit implements core.Limit but adds some additional logging.
VegasLimit implements a Limiter based on TCP Vegas where the limit increases by alpha if the queue_use is small < alpha and decreases by alpha if the queue_use is large > beta.
WindowedLimit implements a windowed limit.

# Interfaces

Logger implements a basic dependency to log.