game

package
v0.0.0-...-3796b3f Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

internals/game/list.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupAndStopEC2

func BackupAndStopEC2(sshConfig utils.SSHConfig, backupPath string, s3Bucket string, backupFile string, publicIP string) error

func CreateGameSession

func CreateGameSession(userID, globalName, gameName string) (models.Session, string, error)

func DestroyGameSession

func DestroyGameSession(sessionId string, dynamodbService *dynamodb.DynamoDBService) (string, error)

func GetGames

func GetGames() []string

func ListSessions

func ListSessions(userID, statusInput string, dynamoService *dynamodb.DynamoDBService) ([]models.Session, error)

func RestartEC2

func RestartEC2(instanceId string) (string, error)

func RestoreEC2

func RestoreEC2(sshConfig utils.SSHConfig, backupPath, s3Bucket, backupFile, publicIP string, instanceID 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