Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DHTAnnouncer ¶
type DHTAnnouncer struct {
// contains filtered or unexported fields
}
func NewDHTAnnouncer ¶
func NewDHTAnnouncer() *DHTAnnouncer
func (*DHTAnnouncer) Close ¶
func (a *DHTAnnouncer) Close()
func (*DHTAnnouncer) NeedMorePeers ¶
func (a *DHTAnnouncer) NeedMorePeers(val bool)
type PeriodicalAnnouncer ¶
type PeriodicalAnnouncer struct { Tracker tracker.Tracker HasAnnounced bool // contains filtered or unexported fields }
func NewPeriodicalAnnouncer ¶
func (*PeriodicalAnnouncer) Close ¶
func (a *PeriodicalAnnouncer) Close()
func (*PeriodicalAnnouncer) NeedMorePeers ¶
func (a *PeriodicalAnnouncer) NeedMorePeers(val bool)
func (*PeriodicalAnnouncer) Run ¶
func (a *PeriodicalAnnouncer) Run()
func (*PeriodicalAnnouncer) Stats ¶
func (a *PeriodicalAnnouncer) Stats() Stats
type StopAnnouncer ¶
type StopAnnouncer struct {
// contains filtered or unexported fields
}
func NewStopAnnouncer ¶
func (*StopAnnouncer) Close ¶
func (a *StopAnnouncer) Close()
func (*StopAnnouncer) Run ¶
func (a *StopAnnouncer) Run()
Click to show internal directories.
Click to hide internal directories.