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
Click to show internal directories.
Click to hide internal directories.