完善服务器

This commit is contained in:
2025-07-01 00:08:27 +08:00
parent b45eb83fe4
commit 7c2c32a31a
37 changed files with 1307 additions and 160 deletions

View File

@@ -4,6 +4,11 @@ option go_package = "common/proto/gen/grpc_pb";
import "common.proto";
service Gateway {
rpc SendMessage(Empty) returns (Empty) {}
rpc ToClient(stream ToClientReq) returns (Empty) {}
}
message ToClientReq {
int32 UID = 1;
bytes Payload = 2;
}