Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rate ¶
type SlidingWindow ¶
type SlidingWindow struct {
Rate Rate
// contains filtered or unexported fields
}
Example ¶
package main
import (
"time"
"go.llib.dev/frameless/pkg/ratelimit"
)
func main() {
_ = ratelimit.SlidingWindow{Rate: ratelimit.Rate{N: 100, Per: time.Minute}}
}
type Throttling ¶
Click to show internal directories.
Click to hide internal directories.