querybar

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryBar

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

func NewQueryBar

func NewQueryBar(submitQuery key.Binding, validator ValidatorFunc) *QueryBar

func (*QueryBar) Init

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

func (*QueryBar) Update

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

func (*QueryBar) View

func (m *QueryBar) View() string

type SubmitQueryMsg

type SubmitQueryMsg struct {
	Query *typesv1.LogQuery
}

type ValidatorFunc

type ValidatorFunc func(str string) []string

Jump to

Keyboard shortcuts

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