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 penguin.Address) int
- func (r *WaitNext) Remove(addr penguin.Address)
- func (r *WaitNext) Set(addr penguin.Address, tryAfter time.Time, attempts int)
- func (r *WaitNext) SetTryAfter(addr penguin.Address, tryAfter time.Time)
- func (r *WaitNext) Waiting(addr penguin.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.