ranges

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
	common.Common
	// contains filtered or unexported fields
}

func NewBar

func NewBar(c common.Common, name string, targetEndBlock uint64) *Bar

func (*Bar) Init

func (b *Bar) Init() tea.Cmd

func (*Bar) Update

func (b *Bar) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Bar) View

func (b *Bar) View() string

type Bars

type Bars struct {
	common.Common
	// contains filtered or unexported fields
}

func NewBars

func NewBars(c common.Common, targetBlock uint64) *Bars

func (*Bars) Init

func (b *Bars) Init() tea.Cmd

func (*Bars) SetSize

func (b *Bars) SetSize(w, h int)

func (*Bars) Update

func (b *Bars) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Bars) View

func (b *Bars) View() string

Jump to

Keyboard shortcuts

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