endpoint

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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) Error

func (m *Module) Error() error

func (*Module) Footer

func (m *Module) Footer() string

func (*Module) Header

func (m *Module) Header() string

func (*Module) Init

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

func (*Module) MinContentHeight

func (m *Module) MinContentHeight() int

func (*Module) SetContentSize

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

func (*Module) SetFooterWidth

func (m *Module) SetFooterWidth(width int)

func (*Module) SetHeaderWidth

func (m *Module) SetHeaderWidth(width 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

Jump to

Keyboard shortcuts

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