move scrobblers into their own package

This commit is contained in:
Alex McGrath
2021-01-10 17:29:04 +00:00
committed by Senan Kelly
parent b9998f7ee6
commit 4443d7d0f5
10 changed files with 198 additions and 195 deletions

View File

@@ -0,0 +1,9 @@
package scrobble
import (
"go.senan.xyz/gonic/server/db"
)
type Scrobbler interface {
Scrobble(user *db.User, track *db.Track, stampMili int, submission bool) error
}