feat 网关鉴权

This commit is contained in:
2025-12-22 18:04:36 +08:00
parent 69cc960fe5
commit 670140e7d3
68 changed files with 1424 additions and 492 deletions

View File

@@ -10,7 +10,7 @@ log:
client:
count: 100
uid: [ 1,1000000 ]
usn: [ 1,1000000 ]
websocket:
address: "wss://www.hlsq.asia/ws/"
port: 0

View File

@@ -9,7 +9,7 @@ type Config struct {
Log *config.LogConfig `yaml:"log"`
Client *struct {
Count int32 `yaml:"count"`
UID []int32 `yaml:"uid"`
USN []int64 `yaml:"usn"`
Websocket *config.AddressConfig `yaml:"websocket"`
} `yaml:"client"`
}

View File

@@ -10,7 +10,7 @@ log:
client:
count: 100
uid: [ 1,1000000 ]
usn: [ 1,1000000 ]
websocket:
address: "ws://172.18.28.0"
port: 8501