class Xssmaze::Beacon::Entry

Overview

One token's history. #count keeps counting past MAX_HITS while #hits stops growing, so even a capped entry reports the true number of fires.

Defined in:

mazes/beacon.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hit : Hit) #

[View source]

Instance Method Detail

def add(hit : Hit) : Nil #

[View source]
def count : Int32 #

[View source]
def first_at : Time #

[View source]
def hits : Array(Hit) #

[View source]
def last_at : Time #

[View source]
def truncated? : Bool #

[View source]