Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
minor godoc fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk committed May 14, 2020
1 parent 9d35da1 commit 65c8515
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions connmgr/decay.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ import (
// the new value.
//
// Such a pluggable design affords a great deal of flexibility and versatility.
// Behaviours that are straightfoward to implement include:
// Behaviours that are straightforward to implement include:
//
// * Decay a tag by -1, or by half its current value, on every tick.
// * Every time a value is bumped, sum it to its current value.
// * Exponentially boost a score with every bump.
// * Sum the incoming score, but keep it within min, max bounds.
//
// Commonly used DecayFns and BumpFns are provided in the go-libp2p-connmgr
// module.
// Commonly used DecayFns and BumpFns are provided in this package.
type Decayer interface {
io.Closer

Expand Down

0 comments on commit 65c8515

Please sign in to comment.