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Lt1XO63UE0MJ1f5FDBW/Co4TM7YMbs
Eknqapwm4ahOtDrSbb3uL95yMJBBRkpJjxKIv3UCgYAxxVkqTzHsIWwVl0o4HreX
PmY/XuNUU0nO8A+Sms7gMrdy6qjTC34Io+rlASC6UFYXAXOZ6cMZUAhxv8zIQirg
nmisArn5Xab/nt+SDMAI0rsqmmFctgrytvSKPPceIS5joNB/AMmNGSqK4DpAzAgA
58xt2TiTcm7QTsaUeQxE8QKBgQCPFk1hVB9LHischLOJRUoo4fBls07i/5sB7JF4
vB0wLL41X1AzVHOs8YGqpoFFJD14X/pWQZgPsKLs0xTxI+s77bM1hAqP6nmhdD12
HY9cr9fCcPGdQB7xV88sQhmwnBPZvHQBiHUdSmxCvImUhi3EVLM5IF2qLP1wl9Pn
mS1aTQKBgDkTOc3Sod1Zj42MBvJQO8uDAjwx/CJDKEh1v2v1roOt0m2H/peJJ9HY
SXB/fk3oXnUyKn23jl9HOwEgArHGTxwnorH7VVOjN8PA5VyPnZzbyRCbo4P24mNT
5GJjUyHXtAKfYn/vL4XneNo8htRmgO/buDA9Mz03LGFZjHn+/sB7
-----END RSA PRIVATE KEY-----
package cert_file
import (
"path/filepath"
"runtime"
)
// basepath is the root directory of this package.
var basepath string
func init() {
_, currentFile, _, _ := runtime.Caller(0)
basepath = filepath.Dir(currentFile)
}
func Path(rel string) string {
if filepath.IsAbs(rel) {
return rel
}
return filepath.Join(basepath, rel)
}
-----BEGIN CERTIFICATE-----
MIICqjCCAZICCQDrEAQLmLEsFTANBgkqhkiG9w0BAQsFADAXMRUwEwYDVQQDDAxl
eGFtcGxlMS5jb20wHhcNMjAwMzI5MTMxNTQyWhcNMzMxMjA2MTMxNTQyWjAXMRUw
EwYDVQQDDAxleGFtcGxlMS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQDmMVbGx9gdqb3l+WcQAVht5YvIfPhrUx8/PjZ8XUFwqIt8s4JJcmCoYrpi
QwYjckajLNEfeovieFPlx1E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QPjE95
/AE6CQKBgDEmZCoZt8vgzqWjsylzuQpx2gWnZT+5rXi3gOGZmzvqdZdOloZqxgVs
EdCP2ZMcwcXecsraoEjdLMCjRVlgw1cCd+ag4yX93FQTcqClx8oqSBSpcoAab7xo
COBb/9wUo4Dl7JztpX3UJacEf0QQpMUcfUAvs+w3rDkRlu0QeLz/
-----END RSA PRIVATE KEY-----
......@@ -14,9 +14,6 @@
"192.168.1.1",
]
[session]
redis_server = "192.168.1.235:6379" #redis session server
redis_password = "icDb29mLy2s"
[log]
log_level = "trace" #日志打印最低级别
......@@ -30,17 +27,6 @@
on = false
color = false
[cluster]
cluster_ip="127.0.0.1"
cluster_port="8080"
cluster_ssl_port="4433"
[swagger]
title="go_gateway swagger API"
desc="This is a sample server celler server."
host="127.0.0.1:8880"
base_path=""
[etcd]
addrs = [
"192.168.2.232:2379"
......
# This is base config
[base]
debug_mode="debug"
time_location="Asia/Chongqing"
[http]
addr =":2002" # 监听地址, default ":8700"
read_timeout = 10 # 读取超时时长
write_timeout = 10 # 写入超时时长
max_header_bytes = 20 # 最大的header大小,二进制位长度
allow_ip = [ # 白名单ip列表
"127.0.0.1",
"192.168.1.1",
]
[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"
]
# 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