package
1.0.2
Repository: https://github.com/fichain/go-file.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

DecodePeersCompact parses and returns addresses for list of CompactPeers.
NewCompactPeer returns a new CompactPeer from a net.TCPAddr.
NewTier returns a new Tier.

# Constants

Tracker Announce Events.
Tracker Announce Events.
Tracker Announce Events.
Tracker Announce Events.

# Variables

ErrDecode is returned from Tracker.Announce method when there is problem with the encoding of response.

# Structs

AnnounceRequest contains the parameters that are sent in an announce request to trackers.
AnnounceResponse contains fields from a response to announce request.
CompactPeer is a struct value which consist of a 4-bytes IP address and a 2-bytes port value.
Error is the string that is sent by the tracker from announce or scrape.
Tier implements the Tracker interface and contains multiple Trackers which tries to announce to the working Tracker.
Torrent contains fields that are sent in an announce request.

# Interfaces

Tracker tracks the IP address of peers of a Torrent swarm.

# Type aliases

Event type that is sent in an announce request.