From f61eaf5353775429aaecca55cff693ea4e20e60f Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 4 Oct 2021 14:29:21 +0300 Subject: [PATCH] [#150] Define status return message Signed-off-by: Leonard Lyubich --- status/types.proto | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 status/types.proto diff --git a/status/types.proto b/status/types.proto new file mode 100644 index 0000000..f8b6f8d --- /dev/null +++ b/status/types.proto @@ -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; +}