ui

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInterface

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

UserInterface is an alternaive way of running go-chromecast (based around a gocui GUI):

func NewUserInterface

func NewUserInterface(app application.App) (*UserInterface, error)

NewUserInterface returns a new user-interface loaded with everything we need:

func (*UserInterface) Run

func (ui *UserInterface) Run() error

Run tells the UserInterface to start:

func (*UserInterface) Stop

func (ui *UserInterface) Stop(g *gocui.Gui, v *gocui.View) error

Stop tells the UserInterface to stop:

Jump to

Keyboard shortcuts

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