From 1a1c8e71fcd14858f595029f089b2d4a00202b32 Mon Sep 17 00:00:00 2001
From: ogi <Administrator@S-OGI-PC>
Date: Fri, 05 Dec 2025 09:24:16 +0900
Subject: [PATCH] プロジェクトファイルを追加。
---
Protos/file.proto | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/Protos/file.proto b/Protos/file.proto
new file mode 100644
index 0000000..1424b43
--- /dev/null
+++ b/Protos/file.proto
@@ -0,0 +1,19 @@
+syntax = "proto3";
+
+package HotelPms.Data;
+
+message FileGrpcHead {
+ string FileName = 1;
+ int64 Size = 2;
+}
+
+message FileGrpcData {
+ string FileName = 1;
+ int32 Block = 2;
+ bytes Content = 3;
+}
+
+service FileCore {
+ rpc DownLoad (FileGrpcHead) returns (stream FileGrpcData);
+ rpc UpLoad (stream FileGrpcData) returns(FileGrpcHead);
+}
--
Gitblit v1.10.0