forked from TrueCloudLab/frostfs-node
d49bd4b94a
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
13 lines
469 B
Go
13 lines
469 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 {
|
|
AnnounceLocalTrust(context.Context, *reputation.AnnounceLocalTrustRequest) (*reputation.AnnounceLocalTrustResponse, error)
|
|
AnnounceIntermediateResult(context.Context, *reputation.AnnounceIntermediateResultRequest) (*reputation.AnnounceIntermediateResultResponse, error)
|
|
}
|