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