Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Config
Inherits
Reference
<
Object
Constructors
from_file
(path :
String
) :
Config
new
(port :
UInt16
= 12190_u16, relays :
Array
(
Relay
) = [] of
Relay
, log :
String
= "stdout", log_level :
String
= "info", firewall :
String
= "iptables")
Instance methods
find_route
(dest_ip :
String
) :
Tuple
(
Relay
,
String
) |
Nil
firewall
has_relays?
log
log_level
port
relays