Created
December 12, 2024 15:13
-
-
Save j-griffith/a6730e21a2daf544c836942007b6a6d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| syntax = "proto3"; | |
| package proto; | |
| option go_package = "github.com/j-griffith/agent/pkg/proto/"; | |
| rpc UploadFileBundle(stream FileChunk) returns (UploadStatus) {} | |
| message FileChunk { | |
| bytes data = 1; | |
| string filename = 2; | |
| string destination = 3; | |
| } | |
| message UploadStatus { | |
| string message = 1; | |
| int32 code = 2; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment