fetch

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoneMsg

type DoneMsg struct{}

type Model

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

func New

func New(waitMsg string) Model

New creates a new fetch model. waitMsg is the message to display while waiting for the fetch to complete.

func (Model) Done

func (m Model) Done() DoneMsg

func (Model) Init

func (m Model) Init() tea.Cmd

Init initializes the model.

func (Model) Update

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

Update updates the model.

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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