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.
 
 
 

27 lines
667 B

# https://goframe.org/docs/web/server-config-file-template
server:
address: ":8000"
openapiPath: "/api.json"
swaggerPath: "/swagger"
# https://goframe.org/docs/core/glog-config
logger:
level : "all"
stdout: true
# https://goframe.org/docs/core/gdb-config-file
database:
default:
link: "mysql:root:root@tcp(127.0.0.1:3306)/link_test?loc=Local&parseTime=true"
createdAt: "create_time"
updatedAt: "update_time"
redis:
default: # 默认实例,用于常规操作
address: "127.0.0.1:6379"
db: 0
password: ""
cache: # 缓存专用实例
address: "127.0.0.1:6379"
db: 1
password: ""