go中的sql配置文件

postgres

{

    "Driver": "postgres",

    "ConnectString": "user=postgres password=123456 dbname=stbcon sslmode=disable",

    "Env": "Dev",

    "Bind": [{

        "Schema": "https",

        "Port": 5000

    }],

    "SessionTimeout": 60,

    "UpdateURL": "",

    "NotMinify": true,

    "DefaultURL": "/",

    "AllowCORS": true

}



oracle

{

    "Driver": "oci8",

    "ConnectString": "kcgl/123456@localhost:1521/orcl",

    "Env": "Dev",

    "Bind": [{

        "Schema": "https",

        "Port": 3000

    }],

    "SessionTimeout": 60,

    "UpdateURL": "",

    "ViewZipTime": "0001-01-01T00:00:00Z",

    "PublicZipTime": "2017-05-11T12:31:59.9789043+08:00",

    "InstitutionZipTime": "2017-05-08T17:02:26.7067354+08:00"

}

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容