feat(*): go 后端项目脚手架
This commit is contained in:
21
config.yaml
Normal file
21
config.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
server:
|
||||
debug: true
|
||||
port: 8080
|
||||
log:
|
||||
level: debug
|
||||
filepath: data\log.log
|
||||
max_size_mb: 10
|
||||
max_age_day: 7
|
||||
backups: 3
|
||||
compress: true
|
||||
database:
|
||||
driver: sqlite
|
||||
user: ""
|
||||
password: ""
|
||||
host: ""
|
||||
port: 0
|
||||
db_name: ""
|
||||
sqlite_db_path: data\sqlite.db
|
||||
jwt:
|
||||
secret_key: r0jkncyd46ptISEe
|
||||
expire_duration_hour: 2ns
|
||||
Reference in New Issue
Block a user