disabled

package
v1.3.52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerDenialEvaluator added in v1.3.37

type PeerDenialEvaluator struct {
}

PeerDenialEvaluator is a disabled implementation of PeerDenialEvaluator that does not manage black listed keys (all keys [peers] are whitelisted)

func (*PeerDenialEvaluator) IsDenied added in v1.3.37

func (pde *PeerDenialEvaluator) IsDenied(_ core.PeerID) bool

IsDenied outputs false (all peers are white listed)

func (*PeerDenialEvaluator) IsInterfaceNil added in v1.3.37

func (pde *PeerDenialEvaluator) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*PeerDenialEvaluator) UpsertPeerID added in v1.3.37

func (pde *PeerDenialEvaluator) UpsertPeerID(_ core.PeerID, _ time.Duration) error

UpsertPeerID returns nil and does nothing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL