controller

package
v0.0.0-...-830117a 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

	GCCPUFraction *widgets.Gauge // TODO WARN: this crashes the whole application, how to solve this?

	HeapAllocBarChart     *widgets.BarChart
	HeapAllocBarChartData *statRing

	HeapPie *widgets.PieChart
}

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