storage

package
v0.0.0-...-5bb1225 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlatFile

type FlatFile struct {
	Name string
}

func (FlatFile) Delete

func (f FlatFile) Delete(id string) error

func (FlatFile) GetByID

func (f FlatFile) GetByID(id string) (*models.Audio, error)

func (FlatFile) List

func (f FlatFile) List() ([]*models.Audio, error)

func (FlatFile) SaveMetadata

func (f FlatFile) SaveMetadata(audio *models.Audio) error

func (FlatFile) Upload

func (f FlatFile) Upload(bytes []byte, filename string) (string, string, error)

Jump to

Keyboard shortcuts

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