struct Murcure::Server::Config

Overview

This struct holds information from config file.

Included Modules

Defined in:

murcure/server/config.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.automatic_env(value : Bool) #

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

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

[View source]
def self.config_envs(value : Array(String)) #

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

[View source]
def self.config_paths(value : Array(String)) #

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

[View source]
def self.configure(file : String, position : Int = -1, environment : String | Nil = nil) #

[View source]
def self.configure(file : String, position : Int = -1, environment : String | Nil = nil, &block : Totem::Config -> _) #

[View source]
def self.configure(environment : String | Nil = nil) #

[View source]
def self.configure(environment : String | Nil = nil, &block : Totem::Config -> _) #

[View source]
def self.debugging(value : Bool) #

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

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

[View source]

Instance Method Detail

def cert_path : String #

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

[View source]
def default_room_id : UInt32 #

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

[View source]
def enable_udp : Bool #

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

[View source]
def host : String #

Connection


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

Connection


[View source]
def max_bandwidth : UInt32 #

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

[View source]
def max_users : UInt8 #

Sorta tech stuff


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

Sorta tech stuff


[View source]
def port : UInt32 #

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

[View source]
def private_key_path : String #

Security


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

Security


[View source]
def welcome_text : String #

UX


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

UX


[View source]

Macro Detail

macro method_missing(call) #