github.com/isyscore/isc-gobase@v1.5.3-0.20231218061332-cbc7451899e9/server/test/application-local.yml (about)

     1  api-module: api/app/sample
     2  
     3  base:
     4    application:
     5      # 应用名称
     6      name: sample
     7    server:
     8      # 是否启用,默认:true
     9      enable: true
    10      # 端口号
    11      port: 8082
    12      # web框架gin的配置
    13      gin:
    14        # 有三种模式:debug/release/test
    15        mode: release
    16      exception:
    17        # 异常返回打印
    18        print:
    19          # 是否启用:true, false;默认 true
    20          enable: true
    21          # 一些异常httpStatus不打印;默认可不填
    22          except:
    23            - 408
    24            - 409
    25