factory

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownConnectionWatcherType = errors.New("unknown connection type")

ErrUnknownConnectionWatcherType signals that an unknown connection watcher type was provided

Functions

func NewConnectionsWatcher

func NewConnectionsWatcher(connectionsWatcherType string, timeToLive time.Duration, logger p2p.Logger) (p2p.ConnectionsWatcher, error)

NewConnectionsWatcher creates a new ConnectionWatcher instance based on the input parameters

Types

This section is empty.

Jump to

Keyboard shortcuts

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