From 63f5bef038d02a71e9a8150fc8e88cf4272c4d7d Mon Sep 17 00:00:00 2001 From: ayflying Date: Thu, 30 Oct 2025 18:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BB=93=E5=BA=93=E7=BC=BA?= =?UTF-8?q?=E5=B0=91=E7=9A=84=E5=9F=BA=E7=A1=80=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - manifest/config/config.yaml | 46 +++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 manifest/config/config.yaml diff --git a/.gitignore b/.gitignore index 7843357..5f05c52 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,6 @@ manifest/output/ temp/ temp.yaml bin -**/config/config.yaml v1.0.0/ config/local.yaml main.exe~ diff --git a/manifest/config/config.yaml b/manifest/config/config.yaml new file mode 100644 index 0000000..6935db5 --- /dev/null +++ b/manifest/config/config.yaml @@ -0,0 +1,46 @@ +module: + server: true + client: true + + + +# https://goframe.org/docs/web/server-config-file-template +server: + address: "51888" +# openapiPath: "/api.json" +# swaggerPath: "/swagger" + dumpRouterMap: false + graceful: true + +# 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:12345678@tcp(127.0.0.1:3306)/test" + +redis: + default: + address: "ay.cname.com:6379" + db: 15 + pass: "12345678" + cache: + address: "ay.cname.com:6379" + db: 15 + pass: "12345678" + +p2p: + list: +# - host: "192.168.50.173" +# port: 51888 +# ssl: false +# ws: ws + - host: "ay.cname.com" + port: 51888 + ssl: false + ws: ws + +