代码整理

This commit is contained in:
2024-08-21 15:32:05 +08:00
commit 84e5e65ee7
71 changed files with 29733 additions and 0 deletions

25
config.yaml Normal file
View File

@@ -0,0 +1,25 @@
listeners:
- type: "tcp"
id: "file-tcp1"
address: ":1883"
- type: "ws"
id: "file-websocket"
address: ":1882"
- type: "healthcheck"
id: "file-healthcheck"
address: ":1880"
hooks:
debug:
enable: true
storage:
redis:
h_prefix: "m-"
password: "iuuiuuiuu"
address: "192.168.0.9:6379"
database: 5
auth:
allow_all: true
logging:
level: DEBUG