page

package
v0.0.0-...-ab40495 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page interface {
	tview.Primitive

	Init() error
	Close() error
}

type Query

type Query struct {
	*tview.Grid
	// contains filtered or unexported fields
}

func NewQuery

func NewQuery(
	app *tview.Application,
	bqClient *bigquery.Client,
	checkpoint *checkpoint.Checkpoint,
	history history.Storage,
) *Query

NewQuery creates Query page.

+-------------------------------------------------------------------+ | textArea | | | | | | | | | +-------------------------------------------------------------------+ | borderTextView (height: 1) | +-------------------------------------------------------------------+ | resultTextView | | | | | | | | | +-------------------------------------------------------------------+ | statusTextView | ctrlXTextView | cursorPosTextView | | | (width: 8) | (width: 18) | +-------------------------------------------------------------------+

func (*Query) Close

func (q *Query) Close() error

func (*Query) Init

func (q *Query) Init() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳