The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
type Config struct {
RequestsPerSecond float64 `json:"requests_per_second" yaml:"requests_per_second"`
Burst int `json:"burst" yaml:"burst"`
MaxConcurrent int `json:"max_concurrent" yaml:"max_concurrent"`
}
Config applies to all callers of one configured endpoint. Zero disables the
corresponding limit. A positive rate with burst zero uses a capacity of one.
type Registry struct {
// contains filtered or unexported fields
}
Registry survives runtime replacement. Configuration changes preserve tokens
and active requests; database transactions do not sit on the request path.
Acquire rejects immediately, without queueing or consuming another endpoint's
allowance on rejection. The returned release must run when the response ends.