adhan

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mp3Player added in v0.1.4

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

func (*Mp3Player) Duration added in v0.1.4

func (a *Mp3Player) Duration() time.Duration

func (*Mp3Player) Initialize added in v0.1.4

func (a *Mp3Player) Initialize() error

func (*Mp3Player) Play added in v0.1.4

func (a *Mp3Player) Play() error

func (*Mp3Player) Stop added in v0.1.4

func (a *Mp3Player) Stop() error

type Player

type Player interface {
	Initialize() error
	Duration() time.Duration
	Play() error
	Stop() error
}

func NewPlayer

func NewPlayer() Player

Jump to

Keyboard shortcuts

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