class LavinMQ::Config

Defined in:

lavinmq/config.cr

Constant Summary

DEFAULT_LOG_LEVEL = ::Log::Severity::Info

Class Method Summary

Instance Method Summary

Class Method Detail

def self.instance : LavinMQ::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 clustering=(clustering : Bool) #

[View source]
def clustering? : Bool #

[View source]
def clustering_advertised_uri : String | Nil #

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

[View source]
def clustering_bind : String #

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

[View source]
def clustering_etcd_endpoints : String #

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

[View source]
def clustering_etcd_prefix : String #

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

[View source]
def clustering_max_unsynced_actions : Int32 #

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

[View source]
def clustering_port : Int32 #

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

[View source]
def config_file : String #

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

[View source]
def consumer_timeout : UInt64 | Nil #

[View source]
def consumer_timeout=(consumer_timeout : UInt64 | Nil) #

[View source]
def consumer_timeout_loop_interval : Int32 #

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

[View source]
def data_dir : String #

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

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

[View source]
def data_dir_lock? : Bool #

[View source]
def default_consumer_prefetch : UInt16 #

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

[View source]
def frame_max : UInt32 #

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

[View source]
def free_disk_min : Int64 #

[View source]
def free_disk_min=(free_disk_min : Int64) #

[View source]
def free_disk_warn : Int64 #

[View source]
def free_disk_warn=(free_disk_warn : Int64) #

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

[View source]
def guest_only_loopback? : Bool #

[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_exchange=(log_exchange : Bool) #

[View source]
def log_exchange? : Bool #

[View source]
def log_file : String | Nil #

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

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

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

[View source]
def max_deleted_definitions : Int32 #

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

[View source]
def max_message_size : Int32 #

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

[View source]
def parse #

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

[View source]
def raise_gc_warn? : Bool #

[View source]
def reload #

[View source]
def segment_size : Int32 #

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

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

[View source]
def 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_keepalive : Tuple(Int32, Int32, Int32) | Nil #

[View source]
def tcp_keepalive=(tcp_keepalive : Tuple(Int32, Int32, Int32) | Nil) #

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

[View source]
def tcp_nodelay? : Bool #

[View source]
def tcp_proxy_protocol : UInt8 #

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

[View source]
def tcp_recv_buffer_size : Int32 | Nil #

[View source]
def tcp_recv_buffer_size=(tcp_recv_buffer_size : Int32 | Nil) #

[View source]
def tcp_send_buffer_size : Int32 | Nil #

[View source]
def tcp_send_buffer_size=(tcp_send_buffer_size : Int32 | Nil) #

[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_configured? #

[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]