Skip to content

Commit

Permalink
protocol update
Browse files Browse the repository at this point in the history
Signed-off-by: Azanul <[email protected]>
  • Loading branch information
Azanul committed Jul 25, 2023
1 parent eb5199e commit 02b3f5c
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 52 deletions.
112 changes: 61 additions & 51 deletions pkg/pressure/pb/pressure.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pkg/pressure/pb/pressure.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ package pressure.pb;
option go_package = "./pkg/pressure/pb";

message Chunk {
optional int32 n_parts = 1; // No. of chucks in the file this chunk belongs to
optional int32 len = 1; // No. of bytes of data in this chunk
int32 index = 2; // Index of the chunk being sent
bytes data = 3;
optional string filename = 4;
}

message ChunkRequest {
Expand Down

0 comments on commit 02b3f5c

Please sign in to comment.