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) TopArtists(ctx Context, start, end time.Time) []ActivityArtist
- func (a *Activity) TopReleases(ctx Context, start, end time.Time) []ActivityRelease
- func (a *Activity) TopTracks(ctx Context, start, end time.Time) []ActivityTrack
- 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 ¶
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) TopArtists ¶ added in v0.21.0
func (*Activity) TopReleases ¶ added in v0.21.0
Click to show internal directories.
Click to hide internal directories.