p2pQuota

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewP2PQuotaProcessor

func NewP2PQuotaProcessor(handler core.AppStatusHandler, quotaIdentifier string) (*p2pQuotaProcessor, error)

NewP2PQuotaProcessor creates a new p2pQuotaProcessor instance

Types

type BlacklistHandler

type BlacklistHandler interface {
	Add(key string) error
	IsInterfaceNil() bool
}

BlacklistHandler defines the behavior of a component that is able to add a blacklisted key (peer)

Jump to

Keyboard shortcuts

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