Versions in this module Expand all Collapse all v0 v0.1.4 Dec 14, 2020 Changes in this version + const ActionRows + var Abis *abiCache + var Api *fio.API + func BlockSummarysLen(b BlockSummarys) int + func GetHost() (apiUrl string, p2p string) + func GetRandomHost(netType NetType) (nodeos string, p2p string, err error) + func LineChart(summary BlockSummarys, lightTheme bool, w int, h int) []byte + func Pie(summary BlockSummarys, w int, h int) image.Image + func SaveHost(apiUrl string, p2p string) + func Scale() image.Rectangle + func WatchBlocks(summary chan *BlockSummary, details chan *ActionRow, quit chan bool, ...) + type ActionRow struct + Action string + Actor string + BlockNum uint32 + Contract string + Info string + Time time.Time + TxDetail []byte + TxId string + Used string + func (t ActionRow) String() string + type ArBuffer struct + func (a *ArBuffer) Len() int + func (a *ArBuffer) Pop(count int) []*ActionRow + func (a *ArBuffer) Push(row *ActionRow) + type BlockSummary struct + Actions map[string]int + Block int + Mux sync.RWMutex + T time.Time + Y float64 + type BlockSummarys []*BlockSummary + func (b BlockSummarys) ToValues() (v []chart.Value) + func (b BlockSummarys) ToXY() (xv []time.Time, yv []float64) + type DetailsContent struct + L [ActionRows * 5]fyne.CanvasObject + Updated time.Time + func NewDetailsContent() *DetailsContent + func (labels *DetailsContent) Get() []fyne.CanvasObject + func (labels *DetailsContent) Push(f [5]fyne.CanvasObject) + func (labels *DetailsContent) UpdateContent(rows chan *ActionRow, done chan bool, win fyne.Window) + type NetType uint8 + const Mainnet + const Testnet