views

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CandlesticksView

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

func NewCandlesticksView

func NewCandlesticksView(program *tea.Program, exchange, pair, periodSymbol string) *CandlesticksView

func (CandlesticksView) Keys

func (cv CandlesticksView) Keys() []key.Binding

func (*CandlesticksView) Update

func (cv *CandlesticksView) Update(message tea.Msg)

func (*CandlesticksView) View

func (cv *CandlesticksView) View(xPad, yPad int) string

type Help

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

func (Help) Keys

func (h Help) Keys() []key.Binding

func (*Help) Update

func (h *Help) Update(message tea.Msg)

func (Help) View

func (h Help) View(_, yPad int) string

type View

type View interface {
	Keys() []key.Binding
	Update(message tea.Msg)
	View(xPad, yPad int) string
}

Jump to

Keyboard shortcuts

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