p2pQuota

package
v1.999.10 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: GPL-3.0 Imports: 5 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