move scrobblers into their own package
This commit is contained in:
committed by
Senan Kelly
parent
b9998f7ee6
commit
4443d7d0f5
9
server/scrobble/scrobble.go
Normal file
9
server/scrobble/scrobble.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user