package
1.2.120
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Functions

NewEmptyBurstLimiter returns a new BurstLimiter with zero tokens that allows events up to burst b and permits bursts of at most b tokens.
NewFullBurstLimiter returns a new BurstLimiter with full tokens that allows events up to burst b and permits bursts of at most b tokens.
NewReorderBuffer returns a new BurstLimiter with exactly only one token that allows instructions to be committed in-order.

# Structs

BurstLimiter Informally, in any large enough time interval, the BurstLimiter limits the burst tokens, with a maximum burst size of b events.
A Reservation holds information about events that are permitted by a BurstLimiter to happen after a delay.