class Caster::Settings

Included Modules

Defined in:

config/settings.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Class Method Detail

def self.load_from_env!(silent = false) #

[View source]
def self.settings_path #

[View source]
def self.settings_path=(value : String) #

[View source]

Instance Method Detail

def auth_password : String #

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

[View source]
def colorize : Bool #
Description copied from module Colorize::ObjectExtensions

Turns self into a Colorize::Object.


[View source]
def colorize=(colorize : Bool) #

[View source]
def inet : String #

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

[View source]
def kv : KVSettings #

[View source]
def kv=(kv : KVSettings) #

[View source]
def log_level : String #

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

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]
def search : SearchSettings #

[View source]
def search=(search : SearchSettings) #

[View source]
def tcp_timeout : Int32 #

[View source]
def tcp_timeout=(tcp_timeout : Int32) #

[View source]