redis

package
v0.0.0-...-a0fcb3e Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, addr, username, password string, db int) *connection

Types

type Leaderboard

type Leaderboard struct {
	CreatedAt       time.Time  `redis:"createdAt,omitempty"`
	UpdatedAt       time.Time  `redis:"updatedAt,omitempty"`
	DeletedAt       *time.Time `redis:"deletedAt,omitempty"`
	ID              string     `redis:"id,omitempty"`
	GameID          string     `redis:"gameId,omitempty"`
	Name            string     `redis:"name,omitempty"`
	Description     string     `redis:"description,omitempty"`
	StartAt         time.Time  `redis:"startAt,omitempty"`
	EndAt           *time.Time `redis:"endAt,omitempty"`
	AggregationMode string     `redis:"aggregationMode,omitempty"`
	Ordering        string     `redis:"ordering,omitempty"`
}

Jump to

Keyboard shortcuts

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