Documentation
¶
Index ¶
- type Model
- func (m Model) File() string
- func (m Model) Init() tea.Cmd
- func (m Model) IsErrorShown() bool
- func (m Model) IsFilterShown() bool
- func (m Model) IsFiltered() bool
- func (m Model) IsJSONShown() bool
- func (m Model) IsTableShown() bool
- func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model of the application.
func NewModel ¶
NewModel initializes a new application model. It accept the path to the file with logs.
func (Model) IsErrorShown ¶
IsErrorShown indicates that err is shown on the screen.
func (Model) IsFilterShown ¶
IsFilterShown indicates that the filter is shown on the screen.
func (Model) IsFiltered ¶
IsFiltered indicates that the results are filtered.
func (Model) IsJSONShown ¶
IsJSONShown indicates that extended JSON view is shown on the screen.
func (Model) IsTableShown ¶
IsJSONShown indicates that the main list is shown on the screen.
Click to show internal directories.
Click to hide internal directories.