Commit 65c85152 authored by Raúl Kripalani's avatar Raúl Kripalani

minor godoc fixes.

parent 9d35da13
...@@ -20,15 +20,14 @@ import ( ...@@ -20,15 +20,14 @@ import (
// the new value. // the new value.
// //
// Such a pluggable design affords a great deal of flexibility and versatility. // 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. // * 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. // * Every time a value is bumped, sum it to its current value.
// * Exponentially boost a score with every bump. // * Exponentially boost a score with every bump.
// * Sum the incoming score, but keep it within min, max bounds. // * Sum the incoming score, but keep it within min, max bounds.
// //
// Commonly used DecayFns and BumpFns are provided in the go-libp2p-connmgr // Commonly used DecayFns and BumpFns are provided in this package.
// module.
type Decayer interface { type Decayer interface {
io.Closer io.Closer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment