Documentation ¶
Index ¶
- type Server
- func (s *Server) AnnounceIntermediateResult(ctx context.Context, r *reputationgrpc.AnnounceIntermediateResultRequest) (*reputationgrpc.AnnounceIntermediateResultResponse, error)
- func (s *Server) AnnounceLocalTrust(ctx context.Context, r *reputationgrpc.AnnounceLocalTrustRequest) (*reputationgrpc.AnnounceLocalTrustResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { reputationgrpc.UnimplementedReputationServiceServer // contains filtered or unexported fields }
Server wraps NeoFS API v2 Reputation service server and provides gRPC Reputation service server interface.
func New ¶
func New(srv reputationrpc.Server) *Server
New creates, initializes and returns Server instance.
func (*Server) AnnounceIntermediateResult ¶
func (s *Server) AnnounceIntermediateResult(ctx context.Context, r *reputationgrpc.AnnounceIntermediateResultRequest) (*reputationgrpc.AnnounceIntermediateResultResponse, error)
func (*Server) AnnounceLocalTrust ¶
func (s *Server) AnnounceLocalTrust(ctx context.Context, r *reputationgrpc.AnnounceLocalTrustRequest) (*reputationgrpc.AnnounceLocalTrustResponse, error)
Click to show internal directories.
Click to hide internal directories.