Discover Packages
github.com/scttfrdmn/go-notebook
examples
aimd
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Jul 19, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Card struct{ Label, Value, Caption string }
type Fair struct{ Pair Pair }
Fair draws the two-flow convergence (or not).
Flow is one AIMD flow's window trace plus its summary metrics.
Pair is two flows sharing a pipe, with the fairness gap over time.
type Readout struct{ Cards []Card }
Render draws the verdict cards. A composite value with no Render method carries no
MIME and the client hides the cell — so the cards render themselves. Engine-called,
not a cell, so fmt here is fine.
type Rendered struct{ MIME, Data string }
type Saw struct{ Flow Flow }
Saw draws the single-flow sawtooth against the capacity line.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.