mp

package
v0.0.0-...-103f554 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Play

func Play(source, mtype string)

Types

type MP3Player

type MP3Player struct {
	Progress int `json:"progress"`
}

func (*MP3Player) Play

func (p *MP3Player) Play(source string)

type Player

type Player interface {
	Play(source string)
}

type WAVPlayer

type WAVPlayer struct {
	Progress int `json:"progress"`
}

func (*WAVPlayer) Play

func (p *WAVPlayer) Play(source string)

Jump to

Keyboard shortcuts

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