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