audio

package
v0.0.0-...-c7bf4eb Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2016 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audio

type Audio struct {
	Album    string `json:"album"`
	FileName string `json:"filename"`
	Size     int64  `json:"size"`
	Title    string `json:"name"`
	Type     string `json:"type"`
	URL      string `json:"url"`
}

Audio represenst an audio file resourcea

func GetRandomAudio

func GetRandomAudio(audioType string) (Audio, error)

GetRandomAudio returns a randomly selected audio struct of the given type.

Jump to

Keyboard shortcuts

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