event

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 2 Imported by: 0

README

event

The Event module represents the possible tasks a command can submit to be done outside of the request response loop. This majorly includes garbage collecting for old/unused games.

Documentation

Overview

The Event module represents the possible tasks a command can submit to be done outside of the request response loop. This majorly includes garbage collecting for old/unused games.

Index

Constants

View Source
const HealthTaskQueue string = "healthTaskQueue"

Name of Redis Key Storing the Health Tasks

Variables

This section is empty.

Functions

func SubmitGameForHealthCheck

func SubmitGameForHealthCheck(gameID string) error

Submits a perspective game ID to be added to the Game Health Check scheduled tasks in redis.

gameID :: string gameID as the unique identifier in the games Hash Tables in Redis.

returns -> error if we are unable to submit the id to the database. nil otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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