spinner

package module
v0.0.0-...-3a2305d Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(sp spinner.Model, f UserFunc, opts ...tea.ProgramOption) error

Types

type Messager

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

func (*Messager) SetDetail

func (m *Messager) SetDetail(v string)

func (*Messager) SetStatus

func (m *Messager) SetStatus(v string)

type UserFunc

type UserFunc func(msg Messager) error

UserFunc executes with spinner running.

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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