Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 state

Back to all declarations

traffic

[]int (len=12)

series are fixed rather than derived from chain state: a demo whose output moved with the block height could not be pinned by an example test.

Open
OID
0ef419…a34c:4
traffic details (len=12)

+12 more Inspect slice

flat

[]int (len=4)

series are fixed rather than derived from chain state: a demo whose output moved with the block height could not be pinned by an example test.

Open
OID
0ef419…a34c:6
flat details (len=4)

+4 more Inspect slice

swing

[]int (len=7)

series are fixed rather than derived from chain state: a demo whose output moved with the block height could not be pinned by an example test.

Open
OID
0ef419…a34c:8
swing details (len=7)

+7 more Inspect slice

pct

[]int (len=7)

series are fixed rather than derived from chain state: a demo whose output moved with the block height could not be pinned by an example test.

Open
OID
0ef419…a34c:10
pct details (len=7)

+7 more Inspect slice

Render

func(path string) string

Render renders the demo for gnoweb. Render("") / Render("/") -> the full demo

Open
OID
0ef419…a34c:11
Render details

Inspect func

ints

func(values []int) string

ints formats a series as \`a, b, c\` for the prose around each sparkline.

Open
OID
0ef419…a34c:13
ints details

Inspect func
traffic : []int (len=12) Inspect
flat : []int (len=4) Inspect
swing : []int (len=7) Inspect
pct : []int (len=7) Inspect
Render : func(path string) string Inspect
ints : func(values []int) string Inspect