Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
url-checker
master
AvgResponseTime
Channel
ConcurrencyUtil
Config
DiagnosticLogger
Formatter
Printer
Stats
Info
StatsStore
Get
LogFailure
LogSuccess
StatsWriter
StatusChecker
Failure
Success
UrlGenerator
Built with Crystal 1.9.2
2023-10-07 10:58:33 UTC
class
StatsStore
StatsStore
Reference
Object
Defined in:
lib/server/stats_store.cr
Constructors
.new
Instance Method Summary
#get
: Array(Stats::Info)
#log_failure
(url : String)
#log_success
(url : String, avg_response_time : Time::Span)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
get
: Array(
Stats::Info
)
#
[
View source
]
def
log_failure
(url : String)
#
[
View source
]
def
log_success
(url : String, avg_response_time :
Time::Span
)
#
[
View source
]