forked from TrueCloudLab/frostfs-api
[#150] Define status return message
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
115d8c801d
commit
f61eaf5353
1 changed files with 20 additions and 0 deletions
20
status/types.proto
Normal file
20
status/types.proto
Normal file
|
@ -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;
|
||||||
|
}
|
Loading…
Reference in a new issue