forked from TrueCloudLab/frostfs-node
df97e35f30
Define `Server` interface of NeoFS API V2 Reputation service server. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
12 lines
309 B
Go
12 lines
309 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)
|
|
}
|