Documentation ¶
Index ¶
Constants ¶
View Source
const (
SecondsBetweenLookups = 10
)
Variables ¶
View Source
var (
Timeout = time.Duration(60 * time.Second)
)
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct { Addr netip.Addr Status HostStatus LastActive time.Time }
func (*Host) SetRemoved ¶
func (h *Host) SetRemoved()
type Tracker ¶
func MakeTracker ¶
func (*Tracker) ActiveHosts ¶
ActiveHosts returns the list of active hosts in sorted order.
func (*Tracker) RemoveHost ¶
func (*Tracker) RemovedHosts ¶
func (*Tracker) UpdateHost ¶
Click to show internal directories.
Click to hide internal directories.