Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NilPeerDenialEvaluator ¶ added in v1.0.133
type NilPeerDenialEvaluator struct { }
NilPeerDenialEvaluator is a mock implementation of PeerDenialEvaluator that does not manage black listed keys (all keys [peers] are whitelisted)
func (*NilPeerDenialEvaluator) IsDenied ¶ added in v1.0.133
func (npde *NilPeerDenialEvaluator) IsDenied(_ core.PeerID) bool
IsDenied outputs false (all peers are white listed)
func (*NilPeerDenialEvaluator) IsInterfaceNil ¶ added in v1.0.133
func (npde *NilPeerDenialEvaluator) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*NilPeerDenialEvaluator) UpsertPeerID ¶ added in v1.0.133
UpsertPeerID returns nil and does nothing
Click to show internal directories.
Click to hide internal directories.