Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimiter ¶
func NewRateLimiter ¶
func NewRateLimiter(ctx context.Context, interval time.Duration, numEvents int, encoder encoder.EventEncoder) *RateLimiter
func (*RateLimiter) Drop ¶
func (r *RateLimiter) Drop()
Click to show internal directories.
Click to hide internal directories.