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.
Click to show internal directories.
Click to hide internal directories.