statistics

package
v0.0.0-...-7dd509f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddedSong

type AddedSong struct {
	Song      Song
	User      string
	CreatedAt string
}

type Song

type Song struct {
	Title string
	File  string
}

type SongStats

type SongStats struct {
	Song        Song
	TimesQueued int64
}

type Storage

type Storage interface {
	AddSong(string, string, string) error
	GetTop(int) ([]SongStats, error)
	GetUserTop(string, int) ([]SongStats, error)
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL