2021-03-24 09:52:35 +00:00
|
|
|
package reputationrpc
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2022-12-23 17:35:35 +00:00
|
|
|
"github.com/TrueCloudLab/frostfs-api-go/v2/reputation"
|
2021-03-24 09:52:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// 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
|
|
|
}
|