Documentation
¶
Index ¶
Constants ¶
View Source
const MaxExactInteger int64 = 1<<53 - 1
MaxExactInteger is the largest integer that the Redis Lua runtime can represent exactly. Limiter configuration values must stay within this boundary because Redis executes Lua numbers as IEEE-754 doubles.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
ValidateConfig verifies that a limiter configuration can be passed to the Redis Lua runtime without changing its integer values.
Types ¶
Click to show internal directories.
Click to hide internal directories.