module

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: GPL-3.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeartbeatMsg

type HeartbeatMsg struct {
	Now time.Time
}

func (*HeartbeatMsg) IsDueNow

func (hb *HeartbeatMsg) IsDueNow(nextUpdate time.Time) bool

type Module

type Module interface {
	View() string
	Update(msg tea.Msg) (tea.Model, tea.Cmd)
}

type ModuleResizeEvent

type ModuleResizeEvent struct {
	Width  int
	Height int
}

Jump to

Keyboard shortcuts

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