internal

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT-0 Imports: 11 Imported by: 0

Documentation

Overview

Package internal contains the Application struct and other packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	tcell.Screen
	// contains filtered or unexported fields
}

Application struct. Call (*Application).Run to run.

func NewApplication

func NewApplication(cfg *config.Config, client *client.MPDClient) *Application

NewApplication allocates new Application from cfg.

func (*Application) Quit

func (app *Application) Quit()

Quit the application.

func (*Application) Run

func (app *Application) Run(ctx context.Context) (err error)

Run the application.

Directories

Path Synopsis
Package config implements the [Config] structure, and holds related functions.
Package config implements the [Config] structure, and holds related functions.
Package event implements [tcell.Event] and derived types.
Package event implements [tcell.Event] and derived types.
Package events implements functions dealing with channels of [tcell.Event].
Package events implements functions dealing with channels of [tcell.Event].
Package lyrics implements the [Lyrics] structure.
Package lyrics implements the [Lyrics] structure.
Package mpd provides the client side interface to MPD (Music Player Daemon).
Package mpd provides the client side interface to MPD (Music Player Daemon).
Package mpdconf has a MPD config file scanner.
Package mpdconf has a MPD config file scanner.
Package panics implements a panic handler.
Package panics implements a panic handler.
Package styles implements some elements in common used by widgets.
Package styles implements some elements in common used by widgets.
Package timerpool implements a global timer pool.
Package timerpool implements a global timer pool.
Package xfilepath contains some functions complementing [filepath].
Package xfilepath contains some functions complementing [filepath].

Jump to

Keyboard shortcuts

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