frostfs-node/pkg/services/reputation/rpc/server.go
Leonard Lyubich df97e35f30 [#444] reputation: Define RPC Server interface
Define `Server` interface of NeoFS API V2 Reputation service server.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-04-01 14:54:22 +03:00

12 lines
309 B
Go

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)
}