addtarget

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoneMsg

type DoneMsg struct{}

type Model

type Model struct {
	Help help.Model
	// contains filtered or unexported fields
}

func New

func New(tokenSymbol string, allowPercentagePrice, inclStopLoss bool) *Model

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) SetWidth

func (m *Model) SetWidth(width int)

func (Model) ShowHelp

func (m Model) ShowHelp() string

func (*Model) Update

func (m *Model) Update(msg tea.Msg) tea.Cmd

func (Model) View

func (m Model) View() string

type TargetMsg

type TargetMsg struct{ Target *database.RawTarget }

Jump to

Keyboard shortcuts

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