ui

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReloader

func NewReloader(ctx context.Context, cb func())

Types

type GoroutineListView

type GoroutineListView struct {
	*tview.Table
	// contains filtered or unexported fields
}

func (*GoroutineListView) Apply

func (g *GoroutineListView) Apply(callStacks []*common.CallStack)

type GoroutineStackView

type GoroutineStackView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func (*GoroutineStackView) Dispose

func (v *GoroutineStackView) Dispose()

type GoroutineStackViewParams

type GoroutineStackViewParams struct {
	Application *tview.Application
	Process     common.Process
	OnClose     func()
}

type HomeView

type HomeView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewHomeView

func NewHomeView(params HomeViewParams) HomeView

func (HomeView) Dispose

func (v HomeView) Dispose()

type HomeViewParams

type HomeViewParams struct {
	MainView Widget
}

type ProcessDetailView

type ProcessDetailView struct {
	*tview.Form
	// contains filtered or unexported fields
}

func NewProcessDetailView

func NewProcessDetailView(params ProcessDetailViewParams) ProcessDetailView

func (ProcessDetailView) Dispose

func (n ProcessDetailView) Dispose()

type ProcessDetailViewParams

type ProcessDetailViewParams struct {
	Process       common.Process
	OnClose       func()
	OnShowStack   func()
	OnCPUProfile  func()
	OnHeapProfile func()
}

type ProcessListView

type ProcessListView struct {
	tview.Primitive
	// contains filtered or unexported fields
}

func NewProcessListView

func NewProcessListView(params ProcessListViewParams) ProcessListView

func (ProcessListView) Dispose

func (v ProcessListView) Dispose()

type ProcessListViewParams

type ProcessListViewParams struct {
	Application *tview.Application
	OnSelect    func(process common.Process)
	OnClose     func()
}

type ProfileView

type ProfileView struct {
	*tview.Pages
	// contains filtered or unexported fields
}

func NewProfileView

func NewProfileView(params ProfileViewParams) ProfileView

func (ProfileView) Dispose

func (v ProfileView) Dispose()

type ProfileViewParams

type ProfileViewParams struct {
	Application *tview.Application
	Process     common.Process
	Type        string
	OnClose     func()
}

type Widget

type Widget interface {
	tview.Primitive
	Dispose()
}

func NewGoroutineStackView

func NewGoroutineStackView(params GoroutineStackViewParams) Widget

Jump to

Keyboard shortcuts

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