Skip to content

Commit

Permalink
[nspcc-dev#150] Define status return message
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
Leonard Lyubich committed Oct 4, 2021
1 parent 6ad083c commit 006b89b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions status/types.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
syntax = "proto3";

package neo.fs.v2.status;

option go_package = "github.com/nspcc-dev/neofs-api-go/v2/status/grpc;status";
option csharp_namespace = "Neo.FileStorage.API.Status";

message Status {
uint32 code = 1;

string message = 2;

message Detail {
uint32 id = 1;

bytes value = 2;
}

repeated Detail details = 3;
}

0 comments on commit 006b89b

Please sign in to comment.