service

package
v0.0.0-...-61aba5b Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibraryService

type LibraryService interface {
	InsertTrack(ctx context.Context, metadata tag.Metadata, fileHash, filePath string) error
	InsertTrackWithoutMetadata(ctx context.Context, fileHash, filePath string) error
}

func NewLibraryService

func NewLibraryService(txnInsertTrack repository.TxnInsertTrack) LibraryService

type MetadataService

type MetadataService interface {
	ParseMetadata(fileName string) (tag.Metadata, error)
	ParseFileMD5(fileName string) (string, error)
}

func NewMetadataService

func NewMetadataService() MetadataService

Jump to

Keyboard shortcuts

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