triviagame

package
v0.0.0-...-becfa1b Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPlayerActivity

func AddPlayerActivity(ctx context.Context, activityInput resources.AddPlayerActivityInput) error

func GetRandomCategoryActivity

func GetRandomCategoryActivity(ctx context.Context) (string, error)

func GetRandomTemporalCategoryActivity

func GetRandomTemporalCategoryActivity(ctx context.Context) (string, error)

func LeaderBoardActivity

func LeaderBoardActivity(ctx context.Context, getPlayers map[string]resources.Player) ([]resources.ScoreBoard, error)

func ModerationActivity

func ModerationActivity(ctx context.Context, input resources.ModerationInput) (bool, error)

func UpdateGameActivity

func UpdateGameActivity(ctx context.Context, gameId string, gameStatus string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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