ui

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoggerUI

func LoggerUI(workerErrs <-chan error, subscription *partybus.Subscription) error

LoggerUI is a UI function that leverages the displays all application logs to the screen.

Types

type UI

type UI func(<-chan error, *partybus.Subscription) error

UI is a function that takes a channel of errors from the main() worker and a event bus subscription and is responsible for displaying pertinent events to the user, on the screen or otherwise.

func Select

func Select(verbose, quiet bool) UI

Select is responsible for determining the specific UI function given select user option, the current platform config values, and environment status (such as a TTY being present).

Directories

Path Synopsis
Package etui provides an "ephemeral" terminal user interface to display the application state dynamically.
Package etui provides an "ephemeral" terminal user interface to display the application state dynamically.

Jump to

Keyboard shortcuts

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