forked from TrueCloudLab/frostfs-node
[#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:
parent
747cfa44e5
commit
df97e35f30
1 changed files with 12 additions and 0 deletions
12
pkg/services/reputation/rpc/server.go
Normal file
12
pkg/services/reputation/rpc/server.go
Normal 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)
|
||||||
|
}
|
Loading…
Reference in a new issue