github.com/OrigamiWang/msd/micro@v0.0.0-20240229032328-b62246268db9/conf.yml (about)

     1  ## 数据库配置
     2  ## 双引号作用:支持转义、字符串类型、支持特殊字符
     3  #databases:
     4  #  - key: sample_mysql1
     5  #    type: mysql
     6  #    name: msd
     7  #    host: 127.0.0.1
     8  #    port: 3306
     9  #    user: root
    10  #    password: "abc123"
    11  #    ext:
    12  #      maxPoolSize: 100
    13  #
    14  #  - key: sample_redis1
    15  #    type: redis
    16  #    name: sample_redis
    17  #    host: 127.0.0.1
    18  #    port: 6379
    19  #    user: root
    20  #    password: ""
    21  #
    22  #
    23  #ext:
    24  #
    25  #  testStruct:
    26  #    Key1: vv1
    27  #    Key2: vv2
    28  #  key: Hello Word!
    29  #  key2: values2
    30  #  key3Int: 3
    31  #  key4Float: 3.1
    32  #  key5Bool: true