factory

package
v1.0.111 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewP2PAntiFloodAndBlackList

func NewP2PAntiFloodAndBlackList(
	config config.Config,
	statusHandler core.AppStatusHandler,
) (process.P2PAntifloodHandler, process.BlackListHandler, error)

NewP2PAntiFloodAndBlackList will return instances of antiflood and blacklist, based on the config

func NewP2POutputAntiFlood

func NewP2POutputAntiFlood(mainConfig config.Config) (process.P2PAntifloodHandler, error)

NewP2POutputAntiFlood will return an instance of an output antiflood component based on the config

Types

This section is empty.

Jump to

Keyboard shortcuts

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