records

package
v0.0.0-...-f84d9c3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordKeeper

type RecordKeeper struct {
	*sql.DB
	// contains filtered or unexported fields
}

func Open

func Open(connectionString string) (*RecordKeeper, error)

func (*RecordKeeper) CacheHash

func (rk *RecordKeeper) CacheHash(path string, hash string) error

func (*RecordKeeper) Close

func (rk *RecordKeeper) Close() error

func (*RecordKeeper) FetchSongs

func (rk *RecordKeeper) FetchSongs() ([]mp3util.Song, error)

func (*RecordKeeper) GetHashes

func (rk *RecordKeeper) GetHashes() (map[string]string, error)

func (*RecordKeeper) Prepare

func (rk *RecordKeeper) Prepare(statement string) (*sql.Stmt, error)

func (*RecordKeeper) RecordSong

func (rk *RecordKeeper) RecordSong(song mp3util.Song) error

Jump to

Keyboard shortcuts

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