graph_progress

package
v0.0.0-...-841f565 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(stream <-chan tea.Msg) func() error

func Stop

func Stop() stop

Types

type GraphRenderModel

type GraphRenderModel struct {
	Stream    <-chan tea.Msg
	Targets   []*TargetModel
	TargetIdx map[string]*TargetModel
	// contains filtered or unexported fields
}

func (GraphRenderModel) Init

func (m GraphRenderModel) Init() tea.Cmd

func (GraphRenderModel) Update

func (m GraphRenderModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (GraphRenderModel) View

func (m GraphRenderModel) View() string

type TargetModel

type TargetModel struct {
	// contains filtered or unexported fields
}

func (TargetModel) Init

func (t TargetModel) Init() tea.Cmd

func (*TargetModel) Update

func (t *TargetModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (TargetModel) View

func (t TargetModel) View() string

Jump to

Keyboard shortcuts

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