class Config

Included Modules

Defined in:

config.cr
daemon/config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.instance : Config #

[View source]
def self.load : Config #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new #

[View source]

Class Method Detail

def self.auth : Tuple(String, String) #

[View source]
def self.reload #

[View source]
def self.save #

[View source]
def self.server : String #

[View source]

Instance Method Detail

def hosts : Hash(String, Tuple(String, String)) #

[View source]
def hosts=(hosts : Hash(String, Tuple(String, String))) #

[View source]
def password : String #

[View source]
def password=(password : String) #

[View source]
def save #

[View source]
def scale : Hash(String, Int32) #

[View source]
def scale=(scale : Hash(String, Int32)) #

[View source]