validation

package
v0.0.0-...-e353533 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Proceed

func Proceed() tea.Cmd

Types

type Model

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

func New

func New(opts ...Option) (Model, error)

func (*Model) Init

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

func (*Model) Reset

func (m *Model) Reset()

func (*Model) SetHeight

func (m *Model) SetHeight(height int)

func (*Model) SetWidth

func (m *Model) SetWidth(width int)

func (*Model) Update

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

func (*Model) View

func (m *Model) View() string

type Option

type Option func(options *options) error

func WithChannel

func WithChannel(signalChan chan<- struct{}) Option

func WithHeight

func WithHeight(height int) Option

func WithWidth

func WithWidth(width int) Option

type Status

type Status struct {
	Validated bool
}

Jump to

Keyboard shortcuts

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