player

package
v0.0.0-...-6d4c639 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

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

func (*Player) OnPlaylistChange

func (p *Player) OnPlaylistChange(cb func(int, []int))

func (*Player) Play

func (p *Player) Play(index int) error

func (*Player) PlayNext

func (p *Player) PlayNext() error

func (*Player) Queue

func (p *Player) Queue(index int) error

func (*Player) SendUpdate

func (p *Player) SendUpdate()

func (*Player) Start

func (p *Player) Start() error

type Song

type Song struct {
	Name     string
	Filename string
}

func NewSong

func NewSong(filename string) Song

Jump to

Keyboard shortcuts

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