Commit 699b85c1 by 孙龙

up

parent de4fe148
......@@ -2,3 +2,4 @@
/cmd/*
/logs/*
/logs
/conf/prod
# This is base config
[base]
debug_mode="debug"
time_location="Asia/Chongqing"
[log]
log_level = "trace" #日志打印最低级别
[log.file_writer] #文件写入配置
on = true
log_path = "./logs/go_gateway.inf.log"
rotate_log_path = "./logs/go_gateway.inf.log.%Y%M%D%H"
wf_log_path = "./logs/go_gateway.wf.log"
rotate_wf_log_path = "./logs/go_gateway.wf.log.%Y%M%D%H"
[log.console_writer] #工作台输出
on = false
color = false
[etcd]
addrs = [
"192.168.2.232:2379"
]
username = ""
password = ""
# this is mysql config
[list]
[list.default]
driver_name = "mysql"
data_source_name = "GeatWuxs:MGwtsTyzlo00oxlmlzT@tcp(appdb-master.ichunt.db:3306)/liexin_geteway?charset=utf8&parseTime=true&loc=Asia%2FChongqing"
max_open_conn = 20
max_idle_conn = 10
max_conn_life_time = 100
\ No newline at end of file
# This is base config
[base]
debug_mode="release"
time_location="Asia/Chongqing"
[http]
addr ="192.168.2.246:2002" # 监听地址, default ":8700"
read_timeout = 10 # 读取超时时长
write_timeout = 10 # 写入超时时长
max_header_bytes = 20 # 最大的header大小,二进制位长度
[https]
addr =":4433" # 监听地址, default ":8700"
read_timeout = 10 # 读取超时时长
write_timeout = 10 # 写入超时时长
max_header_bytes = 20 # 最大的header大小,二进制位长度
\ No newline at end of file
# this is redis config file
[list]
[list.default]
proxy_list = ["192.168.1.235:6379,192.168.1.237:6379"]
conn_timeout = 500
password = "icDb29mLy2s"
db = 0
read_timeout = 1000
write_timeout = 1000
max_active = 200
max_idle = 500
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment