tui

package
v0.0.0-...-aa342d9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BubbleTeaRender

func BubbleTeaRender(c *client.Client)

func BubbleteaRender

func BubbleteaRender(client *client.Client)

func TviewRender

func TviewRender(c *client.Client)

Types

type Model

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

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

type Renderer

type Renderer interface {
	Render(client *client.Client)
}

type RendererFunc

type RendererFunc func(client *client.Client)

func (RendererFunc) Render

func (f RendererFunc) Render(client *client.Client)

Jump to

Keyboard shortcuts

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