struct Limiter::Redis::Entry(T)

Defined in:

limiter/redis.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(interval : Time::Span, milliseconds : UInt64, max_count : UInt64, redis : T, key : String) #

[View source]

Instance Method Detail

def clear #

[View source]
def current_count #

[View source]
def increment #

[View source]
def interval #

[View source]
def limited? #

[View source]
def max_count #

[View source]
def next_free_after : Time::Span #

[View source]