First upload endpoint

This commit is contained in:
Aurélie Delhaie
2022-05-08 14:48:51 +02:00
parent b20a53cc48
commit 445f7e8508
10 changed files with 183 additions and 16 deletions

View File

@@ -18,3 +18,9 @@ type Game struct {
UserId int `json:"-"`
Available bool `json:"available"`
}
type GameUploadToken struct {
GameId int `json:"-"`
UploadToken string `json:"upload_token"`
Expire time.Time `json:"expire"`
}