moonbitstack/moonzero/limit does not have a README file
fn RedisPeriodLimit::new(client : Client, period_secs~ : Int, quota~ : Int, prefix? : String) -> RedisPeriodLimitasync fn RedisPeriodLimit::take(self : RedisPeriodLimit, key : String) -> PeriodResult raise RedisErrorpub struct RedisTokenLimit {
client : Client
script : Script
rate : Int
burst : Int
token_key : String
ts_key : String
rescue : TokenBucket
}fn RedisTokenLimit::new(client : Client, rate~ : Int, burst~ : Int, key~ : String) -> RedisTokenLimitlet period_script : Stringlet token_script : StringInstall
Download zipA service framework for MoonBit.