class AvalancheMQ::Config

Defined in:

avalanchemq/config.cr

Constant Summary

DEFAULT_LOG_LEVEL = Logger::INFO

Class Method Summary

Instance Method Summary

Class Method Detail

def self.instance : AvalancheMQ::Config #

[View source]

Instance Method Detail

def amqp_bind : String #

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

[View source]
def amqp_port : Int32 #

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

[View source]
def amqp_systemd_socket_name : String #

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

[View source]
def amqps_port : Int32 #

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

[View source]
def channel_max : UInt16 #

[View source]
def channel_max=(channel_max : UInt16) #

[View source]
def config_file : String #

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

[View source]
def data_dir : String #

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

[View source]
def data_dir_lock : Bool #

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

[View source]
def file_buffer_size : Int32 #

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

[View source]
def frame_max : UInt32 #

[View source]
def frame_max=(frame_max : UInt32) #

[View source]
def gc_segments_interval : Int32 #

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

[View source]
def heartbeat : UInt16 #

[View source]
def heartbeat=(heartbeat : UInt16) #

[View source]
def http_bind : String #

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

[View source]
def http_port : Int32 #

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

[View source]
def http_systemd_socket_name : String #

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

[View source]
def http_unix_path : String #

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

[View source]
def https_port : Int32 #

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

[View source]
def log_file : String | Nil #

[View source]
def log_file=(log_file : String | Nil) #

[View source]
def log_level : Logger::Severity #

[View source]
def log_level=(log_level : Logger::Severity) #

[View source]
def parse(file) #

[View source]
def queue_max_acks : Int32 #

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

[View source]
def raise_gc_warn : Bool #

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

[View source]
def segment_size : Int32 #

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

[View source]
def set_timestamp : Bool #

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

[View source]
def socket_buffer_size : Int32 #

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

[View source]
def stats_interval : Int32 #

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

[View source]
def stats_log_size : Int32 #

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

[View source]
def tcp_nodelay : Bool #

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

[View source]
def tcp_proxy_protocol : UInt8 #

[View source]
def tcp_proxy_protocol=(tcp_proxy_protocol : UInt8) #

[View source]
def tls_cert_path : String #

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

[View source]
def tls_ciphers : String #

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

[View source]
def tls_key_path : String #

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

[View source]
def tls_min_version : String #

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

[View source]
def unix_path : String #

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

[View source]
def unix_proxy_protocol : UInt8 #

[View source]
def unix_proxy_protocol=(unix_proxy_protocol : UInt8) #

[View source]
def unix_socket_tls_terminated : Bool #

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

[View source]