Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNil = errors.New("no matching records found in redis database") Ctx = context.TODO() )
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
Client *redis.Client
}
func NewDatabase ¶
func (*Database) GetLeaderboard ¶
func (db *Database) GetLeaderboard() (*Leaderboard, error)
type Leaderboard ¶
Click to show internal directories.
Click to hide internal directories.