Introduced NowPlayingRepository. Don't do anything for now

This commit is contained in:
Deluan
2016-03-16 20:27:48 -04:00
parent b660a70688
commit 4748ce142f
7 changed files with 76 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
package engine
import "time"
const NowPlayingExpire = time.Duration(30) * time.Minute
type NowPlayingInfo struct {
TrackId string
Start time.Time
}
type NowPlayingRepository interface {
Add(trackId string) error
}