tui

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PAGE_GOTO_LINE   string = "goto_line_modal"
	PAGE_LINES_TABLE        = "lines_table"
	PAGE_LINE_DETAIL        = "line_detail"
	PAGE_SEARCH_FORM        = "search_form"
)
View Source
const LINES_TABLE_COLUMN_COUNT = 5

Variables

This section is empty.

Functions

This section is empty.

Types

type LinesTableContent

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

func NewLinesTableContent

func NewLinesTableContent(lines []common.Envelope) *LinesTableContent

func (*LinesTableContent) Clear

func (t *LinesTableContent) Clear()

func (*LinesTableContent) GetCell

func (t *LinesTableContent) GetCell(row int, col int) *tview.TableCell

func (*LinesTableContent) GetColumnCount

func (t *LinesTableContent) GetColumnCount() int

func (*LinesTableContent) GetRowCount

func (t *LinesTableContent) GetRowCount() int

func (*LinesTableContent) InsertColumn

func (t *LinesTableContent) InsertColumn(col int)

func (*LinesTableContent) InsertRow

func (t *LinesTableContent) InsertRow(row int)

func (*LinesTableContent) RemoveColumn

func (t *LinesTableContent) RemoveColumn(col int)

func (*LinesTableContent) RemoveRow

func (t *LinesTableContent) RemoveRow(row int)

func (*LinesTableContent) SetCell

func (t *LinesTableContent) SetCell(row int, col int, cell *tview.TableCell)

type TUI

type TUI struct {
	App *tview.Application
	// contains filtered or unexported fields
}

func NewTUI

func NewTUI(logLines []common.Envelope, db *database.LogsDatabase, logger *log.Logger) TUI

Jump to

Keyboard shortcuts

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