Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTrackerTorrents ¶
func NewTrackerTorrents() trackerTorrents
func ScrapePattern ¶
func StartTracker ¶
Start a tracker and run it until interrupted.
Types ¶
type Tracker ¶
type Tracker struct {
Announce string
Addr string
ID string
// contains filtered or unexported fields
}
func NewTracker ¶
func NewTracker() *Tracker
NewTracker initializes new tracker structure and returns pointer to it
func (*Tracker) ListenAndServe ¶
ListenAndServer starts to listen on specified port and blocking until end of operation
func (*Tracker) Unregister ¶
Click to show internal directories.
Click to hide internal directories.