stats

package
v0.0.0-...-1f9a799 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateAllStats

func CalculateAllStats()

func CalculateStats

func CalculateStats()

func GetChartStatsForUser

func GetChartStatsForUser(userId string) (map[string]interface{}, bool)

func GetStatsForUser

func GetStatsForUser(userId string) (map[string]interface{}, bool)

func IncrementGamesStat

func IncrementGamesStat(userId string)

func IncrementStat

func IncrementStat(stat string, userId string)

func IncrementTrophyStat

func IncrementTrophyStat(place int8, userId string)

func NewStats

func NewStats(user entities.User) entities.UserStats

Types

This section is empty.

Jump to

Keyboard shortcuts

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