From c2954aab203ed50290817a312358d3f5c90a8d88 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Sat, 22 Aug 2020 13:18:50 +0300 Subject: [PATCH] [#11] transport: Implement gRPC server handlers of API service Signed-off-by: Leonard Lyubich --- go.mod | 2 +- go.sum | Bin 66049 -> 66981 bytes .../transport/accounting/grpc/.gitkeep | 0 .../transport/accounting/grpc/service.go | 32 ++++ pkg/network/transport/container/grpc/.gitkeep | 0 .../transport/container/grpc/service.go | 87 ++++++++++ pkg/network/transport/object/grpc/.gitkeep | 0 pkg/network/transport/object/grpc/service.go | 159 ++++++++++++++++++ pkg/network/transport/session/grpc/.gitkeep | 0 pkg/network/transport/session/grpc/service.go | 32 ++++ 10 files changed, 311 insertions(+), 1 deletion(-) delete mode 100644 pkg/network/transport/accounting/grpc/.gitkeep create mode 100644 pkg/network/transport/accounting/grpc/service.go delete mode 100644 pkg/network/transport/container/grpc/.gitkeep create mode 100644 pkg/network/transport/container/grpc/service.go delete mode 100644 pkg/network/transport/object/grpc/.gitkeep create mode 100644 pkg/network/transport/object/grpc/service.go delete mode 100644 pkg/network/transport/session/grpc/.gitkeep create mode 100644 pkg/network/transport/session/grpc/service.go diff --git a/go.mod b/go.mod index 1993ed041..f82ba9f5f 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/multiformats/go-multihash v0.0.13 github.com/nspcc-dev/hrw v1.0.9 github.com/nspcc-dev/neo-go v0.90.0 - github.com/nspcc-dev/neofs-api-go v1.3.1-0.20200820112910-89e79ebe72b0 + github.com/nspcc-dev/neofs-api-go v1.3.1-0.20200821125006-afd2ce0400ec github.com/nspcc-dev/neofs-crypto v0.3.0 github.com/nspcc-dev/netmap v1.7.0 github.com/nspcc-dev/tzhash v1.4.0 // indirect diff --git a/go.sum b/go.sum index 5f3644aee78be3d8b23487b6dc6161ef94bb0e10..5eb9c3e807a7994a049609f36b9f73581ac591d9 100644 GIT binary patch delta 567 zcmZwCJ&%)M00;2gd5eoN@$_Ph@pLk&h6f&6in(ZjzCd{`EtGcSfZjuSZA&5TU~-9@ zBcm^yF>x|sc5u+;qPyQf2je#|MqK>>zyHhmvx7I!58l7t$Bq&Hh%v2>E3Q|W1!1Do z^HWaVU=0UP+Uk66987Ghg6&zjTfeE;I4M(f3lE&2<35Ec*$k(TAX-0x5GwWnqs znL@!xWU0nDhaKe<+Zdwf`lPkvsmF+g3Nl?Pqi^D|!xe6*5t-DIaskn%eR8^EF4 zQ5r7eoEha__hxy)U#Tbo-7nvzM;wk5O#oUC?YT=h9v}hmoWD18Urify67l_j+)|*= z+Z?$Wtaze6<~e0b#8#eE