Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Enforce ¶
func Enforce(l *Limiter, rule Rule) middleware.Middleware
func Inject ¶
func Inject(l *Limiter) middleware.Middleware
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Middleware ¶
func (e *Engine) Middleware() middleware.Middleware
type Limiter ¶
type Limiter struct {
// contains filtered or unexported fields
}
func NewLimiter ¶
func NewLimiter() *Limiter
Click to show internal directories.
Click to hide internal directories.