loading

package
v0.0.0-...-3fd34f2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loading

type Loading struct {
	LoadingModel spinner.Model
	Quitting     chan bool
	ParentCtx    context.Context
	Ctx          context.Context
	Can          context.CancelFunc
	Wg           sync.WaitGroup
	Messgage     string
}

func NewLoading

func NewLoading(ParentCtx context.Context) *Loading

func (*Loading) End

func (m *Loading) End()

func (*Loading) Init

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

func (*Loading) Run

func (m *Loading) Run()

func (*Loading) Update

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

func (*Loading) View

func (m *Loading) View() string

Jump to

Keyboard shortcuts

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