tracker

package
v1.11.14 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package tracker provides network tracking functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracker added in v0.15.6

type Tracker interface {
	// Track starts tracking a peer
	Track(peerID string) error

	// Untrack stops tracking a peer
	Untrack(peerID string) error

	// IsTracked checks if a peer is being tracked
	IsTracked(peerID string) bool

	// GetTrackedPeers returns all tracked peers
	GetTrackedPeers() []string
}

Tracker tracks network connections and peers

Jump to

Keyboard shortcuts

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