mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-03-30 13:20:06 +08:00
minor godoc fixes.
This commit is contained in:
parent
65c8515256
commit
e74305c1ec
@ -67,8 +67,8 @@ type DecayingTag interface {
|
|||||||
Interval() time.Duration
|
Interval() time.Duration
|
||||||
|
|
||||||
// Bump applies a delta to a tag value, calling its bump function. The bump
|
// Bump applies a delta to a tag value, calling its bump function. The bump
|
||||||
// may be applied asynchronously, in which case the returned error is used
|
// will be applied asynchronously, and a non-nil error indicates a fault
|
||||||
// to indicate an anomaly when queuing.
|
// when queuing.
|
||||||
Bump(peer peer.ID, delta int) error
|
Bump(peer peer.ID, delta int) error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user