filehandler

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileHandler

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

File handler acts as the abstraction between the rest of the app and getting paths to files that we can play.

func GetFileHandler

func GetFileHandler(server server.Server, track responses.ResponseTrack) FileHandler

func (*FileHandler) GetTrackFile

func (f *FileHandler) GetTrackFile() string

Public API. Returns the path to a local file for the song in question Encapsulates caching, downloading, etc

Jump to

Keyboard shortcuts

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