package
1.3.48
Repository: https://github.com/sandwich-go/boost.git
Documentation: pkg.go.dev

# Functions

InstallOptionsWatchDog the installed func will called when NewOptions called.
New returns a Limiter that will limit to the given RPS.
NewOptions new Options.
NewUnlimited returns a RateLimiter that is not limited.
go:generate optionGen --option_return_previous=false.
WithPer option func for filed per.
WithSlack option func for filed Slack.

# Structs

Options should use NewOptions to initialize it.

# Interfaces

Limiter is used to rate-limit some process, possibly across goroutines.
OptionsInterface visitor + ApplyOption interface for Options.
OptionsVisitor visitor interface for Options.

# Type aliases

Option option func.