Documentation
¶
Overview ¶
Package dump loads data from datastore so it can be dumped to clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Plays ¶
func Plays(ctx context.Context, max int64, cursor string) ( plays []db.PlayDump, nextCursor string, err error)
Plays returns plays from datastore. max contains the maximum number of plays to return in this call. If cursor is non-empty, it is used to resume an already-started query.
func SingleSong ¶
SingleSong returns the song identified by id.
func Songs ¶
func Songs(ctx context.Context, max int64, cursor string, deleted bool, minLastModified time.Time) ( songs []db.Song, nextCursor string, err error)
Songs returns songs from datastore. max specifies the maximum number of songs to return in this call. cursor contains an optional cursor for continuing an earlier request. deleted specifies that only deleted (rather than only live) songs should be returned. minLastModified specifies a minimum last-modified time for returned songs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.