struct Murcure::Server::Config
- Murcure::Server::Config
- Struct
- Value
- Object
Overview
This struct holds information from config file.
Included Modules
- JSON::Serializable
- Totem::ConfigBuilder
Defined in:
murcure/server/config.crConstructors
Class Method Summary
- .automatic_env(value : Bool)
- .automatic_env(value : String)
- .config_env(value : String)
- .config_envs(value : Array(String))
- .config_name(value : String)
- .config_paths(value : Array(String))
- .config_type(value : String)
- .configure(file : String, position : Int = -1, environment : String | Nil = nil)
- .configure(file : String, position : Int = -1, environment : String | Nil = nil, &block : Totem::Config -> _)
- .configure(environment : String | Nil = nil)
- .configure(environment : String | Nil = nil, &block : Totem::Config -> _)
- .debugging(value : Bool)
- .env_prefix(value : String)
- .key_delimiter(value : String)
Instance Method Summary
- #cert_path : String
- #cert_path=(cert_path : String)
- #default_room_id : UInt32
- #default_room_id=(default_room_id : UInt32)
- #enable_udp : Bool
- #enable_udp=(enable_udp : Bool)
-
#host : String
Connection
-
#host=(host : String)
Connection
- #max_bandwidth : UInt32
- #max_bandwidth=(max_bandwidth : UInt32)
-
#max_users : UInt8
Sorta tech stuff
-
#max_users=(max_users : UInt8)
Sorta tech stuff
- #port : UInt32
- #port=(port : UInt32)
-
#private_key_path : String
Security
-
#private_key_path=(private_key_path : String)
Security
-
#welcome_text : String
UX
-
#welcome_text=(welcome_text : String)
UX
Macro Summary
Constructor Detail
Class Method Detail
def self.configure(file : String, position : Int = -1, environment : String | Nil = nil, &block : Totem::Config -> _)
#