Documentation ¶
Index ¶
- Constants
- Variables
- 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
- type ArBuffer
- type BlockSummary
- type BlockSummarys
- type DetailsContent
- type NetType
Constants ¶
View Source
const ActionRows = 32
Variables ¶
View Source
var ( Abis *abiCache Api *fio.API )
Functions ¶
func BlockSummarysLen ¶
func BlockSummarysLen(b BlockSummarys) int
Types ¶
type ActionRow ¶
type BlockSummary ¶
type BlockSummarys ¶
type BlockSummarys []*BlockSummary
func (BlockSummarys) ToValues ¶
func (b BlockSummarys) ToValues() (v []chart.Value)
type DetailsContent ¶
type DetailsContent struct { L [ActionRows * 5]fyne.CanvasObject sync.RWMutex Updated time.Time }
func NewDetailsContent ¶
func NewDetailsContent() *DetailsContent
func (*DetailsContent) Get ¶
func (labels *DetailsContent) Get() []fyne.CanvasObject
func (*DetailsContent) Push ¶
func (labels *DetailsContent) Push(f [5]fyne.CanvasObject)
func (*DetailsContent) UpdateContent ¶
func (labels *DetailsContent) UpdateContent(rows chan *ActionRow, done chan bool, win fyne.Window)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.