优化结构

This commit is contained in:
Yvan
2026-08-21 19:11:14 +08:00
parent 690a2d71ca
commit a2ce3ae218
22 changed files with 1292 additions and 734 deletions
+128 -385
View File
File diff suppressed because it is too large Load Diff
-27
View File
@@ -93,8 +93,6 @@ message AdminBackend {
Zap zap = 11;
CORS cors = 12;
App app = 13;
WebSocket websocket = 14;
MQ mq = 15;
message JWT {
string signing_key = 1;
@@ -181,31 +179,6 @@ message AdminBackend {
string env = 3;
}
message WebSocket {
bool enabled = 1;
string path = 2;
repeated string allow_origins = 3;
int64 max_message_size = 4;
google.protobuf.Duration write_wait = 5;
google.protobuf.Duration pong_wait = 6;
google.protobuf.Duration ping_period = 7;
int32 message_buffer_size = 8;
bool concurrent_message_handling = 9;
}
// MQ config is persisted in sys_integration_configs (kind=mq/provider=emqx).
// The bootstrap fields are retained as a one-time migration source.
message MQ {
bool enabled = 1;
string broker = 2;
string client_id = 3;
string username = 4;
string password = 5;
int32 keep_alive = 6;
bool clean_session = 7;
int32 connect_timeout = 8;
}
message Storage {
string type = 1;
Qiniu qiniu = 2;