pool

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(
	player player.Player,
	provider lyrics.Provider,
	conf *config.Config,
	ch chan Update,
)

Listen polls for lyrics updates and writes them to the channel.

Types

type Update

type Update struct {
	Lines   []lyrics.Line
	Index   int
	Playing bool

	Err error
}

Update represents the state of the lyrics.

Jump to

Keyboard shortcuts

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