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
Config
Config
Reference
Object
Included Modules
YAML::Serializable
Defined in:
lib/config.cr
Constructors
.new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Class Method Summary
.load
(config : String =
File
.read(
"config.yml"
))
Instance Method Summary
#period
: Time::Span
#urls
: Array(String)
#workers
: Int32
Constructor Detail
def self.
new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
[
View source
]
Class Method Detail
def self.
load
(config : String =
File
.read(
"config.yml"
))
#
[
View source
]
Instance Method Detail
def
period
:
Time::Span
#
[
View source
]
def
urls
: Array(String)
#
[
View source
]
def
workers
: Int32
#
[
View source
]