Documentation ¶
Overview ¶
Package activity manages user activity data.
Index ¶
- Variables
- type Activity
- func (a *Activity) Close()
- func (a *Activity) CreateEvents(ctx Context, events Events) error
- func (a *Activity) DeleteUserEvents(ctx Context) error
- func (a *Activity) Movies(ctx Context, start, end time.Time) []ActivityMovie
- func (a *Activity) Open() error
- func (a *Activity) PopularTracks(ctx Context, start, end time.Time) []ActivityTrack
- func (a *Activity) RecentMovies(ctx Context) []ActivityMovie
- func (a *Activity) RecentReleases(ctx Context) []ActivityRelease
- func (a *Activity) RecentTracks(ctx Context) []ActivityTrack
- func (a *Activity) Releases(ctx Context, start, end time.Time) []ActivityRelease
- func (a *Activity) Tracks(ctx Context, start, end time.Time) []ActivityTrack
- func (a *Activity) UserScrobble(user *auth.User, s Scrobble, music *music.Music) error
- type Context
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidUser = errors.New("invalid user")
)
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
func NewActivity ¶
func (*Activity) CreateEvents ¶
func (*Activity) DeleteUserEvents ¶
func (*Activity) PopularTracks ¶
func (*Activity) RecentMovies ¶
func (*Activity) RecentReleases ¶
func (*Activity) RecentTracks ¶
Click to show internal directories.
Click to hide internal directories.