struct Client::DBSettings
- Client::DBSettings
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Client/CATS_Login.pb.crConstant Summary
-
FIELDS =
{1 => {name: :db_host, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :db_port, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :db_name, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 4 => {name: :db_user, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 5 => {name: :db_pass, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(db_host : String, db_port : String, db_name : String, db_user : String, db_pass : String)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #db_host : String
- #db_host=(db_host : String)
- #db_name : String
- #db_name=(db_name : String)
- #db_pass : String
- #db_pass=(db_pass : String)
- #db_port : String
- #db_port=(db_port : String)
- #db_user : String
- #db_user=(db_user : String)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(db_host : String, db_port : String, db_name : String, db_user : String, db_pass : String)
#