views

package
v0.0.0-...-6e4d973 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package views provides the templates for the web application.

Index

Constants

View Source
const (
	// Small size
	Small size = "small"
	// Medium size
	Medium size = "medium"
	// Large size
	Large size = "large"
)

Variables

This section is empty.

Functions

func ClearOutput

func ClearOutput()

func ConsoleOutput

func ConsoleOutput(s string)

func NewBroadcaster

func NewBroadcaster[T any]() *broadcaster[T]

func NewForm

func NewForm() *tview.Form

NewForm creates a new form view

func NewList

func NewList() *tview.List

NewList creates a new list view

func NewMenu

func NewMenu(navigate func(page string)) *tview.List

NewMenu creates a new menu view

func Run

func Run(ctx context.Context, tapp *tview.Application, ctr app.Container) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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