ruwebframe 0.1.4

a simple webframe for rust actix-web, based on rudi and rbatis.
Documentation

software:
  env: ${SOFTWARE_ENV:dev}
  webPrefix: "/web/v3"
  projectName: web
  logLevel: DEBUG
  corp: ${CORP:wcht.akunlong.top}
  author: raymond@163.com

etcd:
  url: ${ETCD_HOSTURL:192.168.1.153:2379}

nats:
  url: ${NATS_URL:nats://192.168.1.153:4222}
  timeout: 10 #s
  subscribe:
    topicSync: GeneralEsSync.*
    topicAsync: GeneralEsAsync.*

redis:
  enable: true
  db: 11
  addr: "192.168.1.153:36379"
  password: "enc(ZtLkZZKoeigMBO3L7/1KVcth7ZjNwuz/ie95EZE7r3nYFg==)"

gorm:
  debug: ${DB_DEBUG:true}
  dbType: ${DB_TYPE:postgres}
  enable: ${DB_ENABLE:true}
  maxIdletime: 900 #s
  maxLifetime: 7200 #s
  maxOpenConns: 150
  maxIdleConns: 50

datasource:
  dbtype: postgres
  dbname: ${DB_NAME:train-dev}
  host: ${DB_HOST:192.168.1.153}
  port: ${DB_PORT:5432}
  username: ${DB_USER:postgres}
  password: ${DB_PASSWORD:enc(hS9FEVVo641JakohMtcd26QOs0pf87385SpBDwKqp/m82S2COkiphLUJnVA=)}
  sslmode: ${DB_SSLMODE:disable}
  charset: utf8

rpc:
  enable: false
  serverName: grpcweb.admin.com
  serverPort: ${WEBSITE_RPC_PORT:1201}
  version: "latest"
web:
  server:
    name: ${WEB_SERVER_HOST:web.webserver.com}
    port: "8098"
    title: ${WEB_SERVER_TITLE:运营中心-WebServer}
    ver: latest

  client:
    name: ${WEB_CLIENT_HOST:learnentity.pdf.com}
    testUrl: #${ICHUB_TESTURL:http://localhost:301/admin/v3}
    enableTestUrl: "false"
    webTimeout: ${WEB_TIMEOUT:30}

  swagger:
    enable: ${SWAGGER_ENABLE:true}
    host: ${SWAGGER_HOST:localhost:301/website/v3}
    basePath: /
    ver: v1.0
    title: ${SWAGGER_TITLE:通用服务-WebServer}

  dbclient:
    name: web.dbserver.com
    testUrl: ${WEB_ESCLIENT_TESTURL:http://localhost:91}
    webTimeout: ${WEB_TIMEOUT:30}

postgres:
  dbtype: postgres
  dbname: ${DB_NAME:train}
  host: ${DB_HOST:192.168.1.153}
  port: ${DB_PORT:5432}
  username: ${DB_USER:postgres}
  password: ${DB_PASSWORD:enc(ap3bkQhgwYOYarqeXA0wTJqTTAA/CPJu2FJAyIIDUKI=)}
  sslmode: ${DB_SSLMODE:disable}
  charset: utf8