leaderboard

package
v0.0.0-...-38f6706 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Data datasource.DataSource
}

Handler takes care of retrieving and saving leaderboard entries using a datasource

func (Handler) GetAll

func (h Handler) GetAll() []datasource.Entry

func (Handler) NewEntry

func (h Handler) NewEntry(name string, score float64, meta string) error

func (Handler) Test

func (h Handler) Test()

Jump to

Keyboard shortcuts

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