handlers

package
v0.0.0-...-0585e37 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 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 BeepPlayer

type BeepPlayer struct {
	Volume float64
	Speed  float64
	// contains filtered or unexported fields
}

func (*BeepPlayer) Play

func (p *BeepPlayer) Play(fileName string) error

func (*BeepPlayer) SetSpeed

func (p *BeepPlayer) SetSpeed(speed float64)

func (*BeepPlayer) SetVolume

func (p *BeepPlayer) SetVolume(volume float64)

type PlayerInterface

type PlayerInterface interface {
	Play(fileName string) error
}

Jump to

Keyboard shortcuts

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