forked from go/golangs_learn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
384 B
21 lines
384 B
4 years ago
|
web:
|
||
|
static_path:
|
||
|
port: 8080
|
||
|
domain: 127.0.0.1:8080
|
||
|
read_timeout: 5
|
||
|
write_timeout: 5
|
||
|
idle_timeout: 5
|
||
|
gorm:
|
||
|
debug: true
|
||
|
db_type: sqlite3
|
||
|
max_lifetime: 7200
|
||
|
max_open_conns: 150
|
||
|
max_idle_conns: 50
|
||
|
table_prefix: tb_
|
||
|
mysql:
|
||
|
host: 127.0.0.1
|
||
|
port: 3306
|
||
|
user: root
|
||
|
password: 123456
|
||
|
db_name: goapp
|
||
|
parameters: charset=utf8&parseTime=True&loc=Asia%2FShanghai
|