ui

package
v0.0.0-...-3ddbc71 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package ui implements the UI for the delorean application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewModel

func NewModel(srv *bl.Service, cfg *config.Config) (*App, error)

func (*App) Init

func (a *App) Init() tea.Cmd

func (*App) OnClick

func (a *App) OnClick(msg tea.MouseMsg)

func (*App) Update

func (a *App) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*App) View

func (a *App) View() string

Directories

Path Synopsis
components
help
Package help keeps the logic for bottom help bar.
Package help keeps the logic for bottom help bar.
settings
Package settings is responsible for settings logic.
Package settings is responsible for settings logic.
snapshots
Package snapshots keeps all the logic for snapshots component.
Package snapshots keeps all the logic for snapshots component.
tabs
Package tabs keeps the logic for tabs component.
Package tabs keeps the logic for tabs component.
Package shared keeps shared domains.
Package shared keeps shared domains.
elements/alert
Package alert keeps helpers to create a standard alert window.
Package alert keeps helpers to create a standard alert window.
elements/dialog
Package dialog keeps helpers to create a standard dialog window.
Package dialog keeps helpers to create a standard dialog window.
elements/divider
Package divider keeps helpers to draw dividers.
Package divider keeps helpers to draw dividers.
elements/tab
Package tab keeps helpers to create tabs.
Package tab keeps helpers to create tabs.
styles
Package styles keeps default styles.
Package styles keeps default styles.

Jump to

Keyboard shortcuts

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