Documentation
¶
Index ¶
- type RecordKeeper
- func (rk *RecordKeeper) CacheHash(path string, hash string) error
- func (rk *RecordKeeper) Close() error
- func (rk *RecordKeeper) FetchSongs() ([]mp3util.Song, error)
- func (rk *RecordKeeper) GetHashes() (map[string]string, error)
- func (rk *RecordKeeper) Prepare(statement string) (*sql.Stmt, error)
- func (rk *RecordKeeper) RecordSong(song mp3util.Song) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecordKeeper ¶
func Open ¶
func Open(connectionString string) (*RecordKeeper, error)
func (*RecordKeeper) Close ¶
func (rk *RecordKeeper) Close() error
func (*RecordKeeper) FetchSongs ¶
func (rk *RecordKeeper) FetchSongs() ([]mp3util.Song, error)
func (*RecordKeeper) RecordSong ¶
func (rk *RecordKeeper) RecordSong(song mp3util.Song) error
Click to show internal directories.
Click to hide internal directories.