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 ¶
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.
Click to show internal directories.
Click to hide internal directories.