market

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: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidToken0  = errors.New("invalid token 0")
	ErrInvalidToken1  = errors.New("invalid token 1")
	ErrGettingBalance = errors.New("getting balance failed")
)

Functions

This section is empty.

Types

type Module

type Module struct {
	D modules.Default
	// contains filtered or unexported fields
}

func New

func New(module *modules.Default) *Module

func (*Module) Cancel

func (m *Module) Cancel()

func (*Module) Content

func (m *Module) Content() string

func (*Module) Init

func (m *Module) Init(c *context.Context) tea.Cmd

func (*Module) Pipe

func (m *Module) Pipe() []modules.Piper

func (*Module) PostPipe

func (m *Module) PostPipe() []modules.Piper

func (*Module) PrePipe

func (m *Module) PrePipe() []modules.Piper

func (*Module) SetContentSize

func (m *Module) SetContentSize(width, height int)

func (*Module) State

func (m *Module) State() int

func (*Module) String

func (m *Module) String() string

func (*Module) Update

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

func (Module) Wrap

func (m Module) Wrap() bool

Jump to

Keyboard shortcuts

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