class Loudspeaker::Config

Overview

config instance

Defined in:

loudspeaker/config.cr

Constant Summary

LOGGER_SEVERITY_MAP = {debug: Log::Severity::Debug, info: Log::Severity::Info, notice: Log::Severity::Notice, warn: Log::Severity::Warn, error: Log::Severity::Error, fatal: Log::Severity::Fatal}

Class Method Summary

Instance Method Summary

Class Method Detail

def self.config #

[View source]
def self.db #

[View source]
def self.load(config_file : String | Nil) #

[View source]
def self.redis #

[View source]

Instance Method Detail

def config : ConfigInfo #

[View source]
def db : Database #

[View source]
def redis_pool : Redis::PooledClient #

[View source]