frostfs-node/pkg/services/reputation/rpc/server.go
Alex Vanin 7cf48d4d91 [] Update neo-go to latest master
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-06 10:35:20 +03:00

13 lines
445 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)
SendIntermediateResult(context.Context, *reputation.SendIntermediateResultRequest) (*reputation.SendIntermediateResultResponse, error)
}