2021-03-24 09:52:35 +00:00
|
|
|
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)
|
2021-04-05 09:27:58 +00:00
|
|
|
SendIntermediateResult(context.Context, *reputation.SendIntermediateResultRequest) (*reputation.SendIntermediateResultResponse, error)
|
2021-03-24 09:52:35 +00:00
|
|
|
}
|