outputs

package
v0.0.0-...-e7feb91 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AudioInfoType     msgType = "audioinfo"
	PlaybackStateType msgType = "playbackstate"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Outputs

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

func Init

func Init() (Outputs, error)

func (*Outputs) InitWS

func (o *Outputs) InitWS(conn *websocket.Conn) error

func (*Outputs) Pause

func (o *Outputs) Pause(name string) error

func (*Outputs) Play

func (o *Outputs) Play(name string, url string) error

func (*Outputs) Resume

func (o *Outputs) Resume(name string) error

func (*Outputs) Seek

func (o *Outputs) Seek(name string, pos int) error

func (*Outputs) Stop

func (o *Outputs) Stop(name string) error

Jump to

Keyboard shortcuts

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