7cf48d4d91
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
13 lines
445 B
Go
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)
|
|
}
|