Documentation ¶
Index ¶
- func ScanFile(fileName string) error
- type LiteDB
- func (ld *LiteDB) CreateHistory(uri, title, description, duration string, durinsec int, tt string) error
- func (ld *LiteDB) DeleteAllMusicFiles(tx *sql.Tx) error
- func (ld *LiteDB) DeleteAllVideo(tx *sql.Tx) error
- func (ld *LiteDB) DeleteRadioItem(tx *sql.Tx, item ResUriItem) error
- func (ld *LiteDB) EditRadioItem(tx *sql.Tx, item ResUriItem) error
- func (ld *LiteDB) FetchHistory(pageIx int, pageSize int) ([]ResUriItem, error)
- func (ld *LiteDB) FetchMusic(parent string) ([]ResMusicItem, error)
- func (ld *LiteDB) FetchRadio(pageIx int, pageSize int) ([]ResUriItem, error)
- func (ld *LiteDB) FetchRadioFromURI(uri string) (*ResUriItem, error)
- func (ld *LiteDB) FetchVideo(pageIx int, pageSize int) ([]ResUriItem, error)
- func (ld *LiteDB) GetNewTransaction() (*sql.Tx, error)
- func (ld *LiteDB) InsertHistoryItem(item *ResUriItem) error
- func (ld *LiteDB) InsertMusicList(tx *sql.Tx, list []*ResMusicItem) error
- func (ld *LiteDB) InsertRadioList(tx *sql.Tx, list []*ResUriItem) error
- func (ld *LiteDB) InsertVideoList(tx *sql.Tx, list []*ResUriItem) error
- func (ld *LiteDB) OpenSqliteDatabase() error
- type ResMusicItem
- type ResUriItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LiteDB ¶
func (*LiteDB) CreateHistory ¶
func (*LiteDB) DeleteRadioItem ¶
func (ld *LiteDB) DeleteRadioItem(tx *sql.Tx, item ResUriItem) error
func (*LiteDB) EditRadioItem ¶
func (ld *LiteDB) EditRadioItem(tx *sql.Tx, item ResUriItem) error
func (*LiteDB) FetchHistory ¶
func (ld *LiteDB) FetchHistory(pageIx int, pageSize int) ([]ResUriItem, error)
func (*LiteDB) FetchMusic ¶
func (ld *LiteDB) FetchMusic(parent string) ([]ResMusicItem, error)
func (*LiteDB) FetchRadio ¶
func (ld *LiteDB) FetchRadio(pageIx int, pageSize int) ([]ResUriItem, error)
func (*LiteDB) FetchRadioFromURI ¶
func (ld *LiteDB) FetchRadioFromURI(uri string) (*ResUriItem, error)
func (*LiteDB) FetchVideo ¶
func (ld *LiteDB) FetchVideo(pageIx int, pageSize int) ([]ResUriItem, error)
func (*LiteDB) InsertHistoryItem ¶
func (ld *LiteDB) InsertHistoryItem(item *ResUriItem) error
func (*LiteDB) InsertMusicList ¶
func (ld *LiteDB) InsertMusicList(tx *sql.Tx, list []*ResMusicItem) error
func (*LiteDB) InsertRadioList ¶
func (ld *LiteDB) InsertRadioList(tx *sql.Tx, list []*ResUriItem) error
func (*LiteDB) InsertVideoList ¶
func (ld *LiteDB) InsertVideoList(tx *sql.Tx, list []*ResUriItem) error
func (*LiteDB) OpenSqliteDatabase ¶
type ResMusicItem ¶
Click to show internal directories.
Click to hide internal directories.