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 {
|
2021-05-07 11:13:11 +00:00
|
|
|
AnnounceLocalTrust(context.Context, *reputation.AnnounceLocalTrustRequest) (*reputation.AnnounceLocalTrustResponse, error)
|
|
|
|
AnnounceIntermediateResult(context.Context, *reputation.AnnounceIntermediateResultRequest) (*reputation.AnnounceIntermediateResultResponse, error)
|
2021-03-24 09:52:35 +00:00
|
|
|
}
|