Documentation
¶
Index ¶
- type IntegratedValidatorImpl
- func (v *IntegratedValidatorImpl) GetInvalidPeers(_ context.Context, _ string, _ *types.ExtraSettings) (map[string]string, error)
- func (v *IntegratedValidatorImpl) GetValidatedPeers(_ context.Context, _ string, _ []*types.Group, peers []*nbpeer.Peer, ...) (map[string]struct{}, error)
- func (v *IntegratedValidatorImpl) IsNotValidPeer(_ context.Context, _ string, _ *nbpeer.Peer, _ []string, ...) (bool, bool, error)
- func (v *IntegratedValidatorImpl) PeerDeleted(_ context.Context, _, _ string, _ *types.ExtraSettings) error
- func (v *IntegratedValidatorImpl) PreparePeer(_ context.Context, _ string, peer *nbpeer.Peer, _ []string, ...) *nbpeer.Peer
- func (v *IntegratedValidatorImpl) SetPeerInvalidationListener(_ func(accountID string, peerIDs []string))
- func (v *IntegratedValidatorImpl) Stop(_ context.Context)
- func (v *IntegratedValidatorImpl) ValidateExtraSettings(context.Context, *types.ExtraSettings, *types.ExtraSettings, string, string) error
- func (v *IntegratedValidatorImpl) ValidateFlowResponse(_ context.Context, _ string, flowResponse *proto.PKCEAuthorizationFlow) *proto.PKCEAuthorizationFlow
- func (v *IntegratedValidatorImpl) ValidatePeer(_ context.Context, update *nbpeer.Peer, _ *nbpeer.Peer, _ string, _ string, ...) (*nbpeer.Peer, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntegratedValidatorImpl ¶
type IntegratedValidatorImpl struct{}
func NewIntegratedValidator ¶
func NewIntegratedValidator(_ context.Context, _ peers.Manager, _ settings.Manager, _ activity.Store, _ cachestore.StoreInterface) (*IntegratedValidatorImpl, error)
func (*IntegratedValidatorImpl) GetInvalidPeers ¶
func (v *IntegratedValidatorImpl) GetInvalidPeers(_ context.Context, _ string, _ *types.ExtraSettings) (map[string]string, error)
func (*IntegratedValidatorImpl) GetValidatedPeers ¶
func (*IntegratedValidatorImpl) IsNotValidPeer ¶
func (*IntegratedValidatorImpl) PeerDeleted ¶
func (v *IntegratedValidatorImpl) PeerDeleted(_ context.Context, _, _ string, _ *types.ExtraSettings) error
func (*IntegratedValidatorImpl) PreparePeer ¶
func (*IntegratedValidatorImpl) SetPeerInvalidationListener ¶
func (v *IntegratedValidatorImpl) SetPeerInvalidationListener(_ func(accountID string, peerIDs []string))
func (*IntegratedValidatorImpl) Stop ¶
func (v *IntegratedValidatorImpl) Stop(_ context.Context)
func (*IntegratedValidatorImpl) ValidateExtraSettings ¶
func (v *IntegratedValidatorImpl) ValidateExtraSettings(context.Context, *types.ExtraSettings, *types.ExtraSettings, string, string) error
func (*IntegratedValidatorImpl) ValidateFlowResponse ¶
func (v *IntegratedValidatorImpl) ValidateFlowResponse(_ context.Context, _ string, flowResponse *proto.PKCEAuthorizationFlow) *proto.PKCEAuthorizationFlow
Click to show internal directories.
Click to hide internal directories.