Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteProvider ¶
type RemoteProvider struct {
// contains filtered or unexported fields
}
RemoteProvider is an implementation of the clientKeyRemoteProvider interface.
func NewRemoteProvider ¶
func NewRemoteProvider(prm RemoteProviderPrm) *RemoteProvider
NewRemoteProvider creates a new instance of the RemoteProvider.
Panics if at least one value of the parameters is invalid.
The created RemoteProvider does not require additional initialization and is completely ready for work.
func (RemoteProvider) WithClient ¶
func (rp RemoteProvider) WithClient(c apiClient.Client) reputationcommon.WriterProvider
type RemoteProviderPrm ¶
type RemoteProviderPrm struct {
Key *ecdsa.PrivateKey
}
RemoteProviderPrm groups the required parameters of the RemoteProvider's constructor.
All values must comply with the requirements imposed on them. Passing incorrect parameter values will result in constructor failure (error or panic depending on the implementation).
type RemoteTrustWriter ¶
type RemoteTrustWriter struct {
// contains filtered or unexported fields
}
func (*RemoteTrustWriter) Close ¶
func (rtp *RemoteTrustWriter) Close() error
func (*RemoteTrustWriter) Write ¶
func (rtp *RemoteTrustWriter) Write(t reputation.Trust) error
type TrustIterator ¶
type TrustIterator struct {
// contains filtered or unexported fields
}
func (*TrustIterator) Iterate ¶
func (it *TrustIterator) Iterate(h reputation.TrustHandler) error
type TrustStorage ¶
type TrustStorage struct { Log *logger.Logger Storage *truststorage.Storage NmSrc netmapcore.Source LocalKey []byte }
func (*TrustStorage) InitIterator ¶
func (s *TrustStorage) InitIterator(ctx reputationcommon.Context) (trustcontroller.Iterator, error)
type TrustWriterProvider ¶
type TrustWriterProvider struct {
// contains filtered or unexported fields
}
func (*TrustWriterProvider) InitWriter ¶
func (twp *TrustWriterProvider) InitWriter(ctx reputationcommon.Context) (reputationcommon.Writer, error)
Click to show internal directories.
Click to hide internal directories.