12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- SessionStorage = "redis"
- # HTTP Server
- [server]
- Address = ":8200"
- ServerAgent = "gf-app"
- ServerRoot = "public"
- LogPath = "/tmp/log/gf-app/server"
- #compiler
- [gfcli]
- [gfcli.build]
- arch = "amd64"
- cgo = 0
- extra = ""
- mod = "none"
- name = "youngmini_server"
- output = "./bin"
- pack = ""
- system = "linux,windows"
- version = "v2.0.5"
- [gfcli.gen.dao]
- jsonCase = "Snake"
- link = "mysql:talent:talentDB_123@tcp(139.9.53.143:3306)/youngmini"
- # Logger.
- [logger]
- Level = "all"
- Path = "/tmp/log/gf-app"
- Stdout = true
- # Template.
- [viewer]
- DefaultFile = "index.html"
- Delimiters = ["{{", "}}"]
- Path = "template"
- # Database.
- [database]
- #link = "mysql:liming:123456@tcp(192.168.0.105:3306)/youngmini"
- debug = true
- link = "mysql:talent:talentDB_123@tcp(139.9.53.143:3306)/youngmini"
- # Database logger.
- [database.logger]
- Level = "all"
- Path = "/tmp/log/gf-app/sql"
- Stdout = true
- # redis
- [redis]
- default = "139.9.53.143:6379,younggeeRedis_123?idleTimeout=600"
- # mini program info
- [miniapp]
- # appid = "wxac396a3be7a16844"
- # appsecret = "73224fda5bd2a78cf7596771e95eb37a"
- # appid = "wxef4b1e9c5a1ed9d4"
- # appsecret = "79193cad6f00f135fc91d8ff97bdaf21"
- appid = "wxbbcd7973dc77b197"
- appsecret = "dab7d2be0e0d5ed3f9fd633ccc9f4c3a"
|