controller

package
v0.0.0-...-e78cd55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Grid *ui.Grid

	HeapObjectsSparkline      *widgets.Sparkline
	HeapObjectsSparklineGroup *widgets.SparklineGroup
	HeapObjectsData           *statRing

	SysText *widgets.Paragraph // OK

	GCCPUFraction *widgets.Gauge // TODO crashes the whole application!

	HeapAllocBarChart     *widgets.BarChart
	HeapAllocBarChartData *statRing

	HeapPie *widgets.PieChart // OK
}

func NewController

func NewController() *Controller

func (*Controller) Render

func (c *Controller) Render(data *runtime.MemStats)

func (*Controller) Resize

func (c *Controller) Resize()

type ControllerInterface

type ControllerInterface interface {
	Render(*runtime.MemStats)
	Resize()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL