Documentation ¶
Overview ¶
Package metrics provides service for collecting various metrics about peers. It is intended to be used with the kademlia where the metrics are collected.
Index ¶
- type WaitNext
- func (r *WaitNext) Attempts(addr cluster.Address) int
- func (r *WaitNext) Remove(addr cluster.Address)
- func (r *WaitNext) Set(addr cluster.Address, tryAfter time.Time, attempts int)
- func (r *WaitNext) SetTryAfter(addr cluster.Address, tryAfter time.Time)
- func (r *WaitNext) Waiting(addr cluster.Address) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.