media

package
v0.0.0-...-25c52f5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Media

type Media interface {
	Id() int

	Title() string

	Description() string

	// si es una pelicula, "Movie", o una canción, "Music"
	MediaType() string

	//url del archivo
	Source() string

	Artist() string

	Album() string
}

func GetMedia

func GetMedia(id string, mediaType string) (Media, error)

func GetMovie

func GetMovie(id string) (Media, error)

func GetMusic

func GetMusic(id string) (Media, error)

func MediaList

func MediaList() ([]Media, error)

func MovieList

func MovieList() ([]Media, error)

lista de multimedia registrada en la base de datos

func MusicList

func MusicList() ([]Media, error)

lista de multimedia registrada en la base de datos

Jump to

Keyboard shortcuts

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