[#444] reputation: Define RPC Server interface

Define `Server` interface of NeoFS API V2 Reputation service server.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-03-24 12:52:35 +03:00 committed by Alex Vanin
parent 747cfa44e5
commit df97e35f30

View file

@ -0,0 +1,12 @@
package reputationrpc
import (
"context"
"github.com/nspcc-dev/neofs-api-go/v2/reputation"
)
// Server is an interface of the NeoFS API v2 Reputation service server.
type Server interface {
SendLocalTrust(context.Context, *reputation.SendLocalTrustRequest) (*reputation.SendLocalTrustResponse, error)
}