app

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StateNormal State = iota
	StateSearching
	SearchModeNormal SearchMode = "normal"
	SearchModeRegex  SearchMode = "regex"
)

Variables

This section is empty.

Functions

func Run

func Run(tailer *tail.Tail) error

Types

type Model

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

func NewModel

func NewModel(tailer *tail.Tail) *Model

func (*Model) Init

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

func (*Model) Update

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

func (*Model) View

func (m *Model) View() string

type SearchMode

type SearchMode string

type State

type State int

Jump to

Keyboard shortcuts

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