merge session utils
This commit is contained in:
parent
c035b05b46
commit
f5ce5468a8
@ -13,32 +13,34 @@ func ConvertServerSessionsToJSON(s Session) []byte {
|
|||||||
return s_json
|
return s_json
|
||||||
}
|
}
|
||||||
|
|
||||||
var FakeSessions = []Session{
|
var FakeSessions = Sessions{
|
||||||
{
|
Sessions: []Session{
|
||||||
GameId: "garrysmod",
|
{
|
||||||
Icon: "",
|
GameId: "garrysmod",
|
||||||
Title: "Regular Skirda Gmod server",
|
Icon: "",
|
||||||
Status: "Super fake session",
|
Title: "Regular Skirda Gmod server",
|
||||||
Version: "",
|
Status: "Super fake session",
|
||||||
Expires: time.Time{},
|
Version: "",
|
||||||
Arguments: []gameUtils.Argument{
|
Expires: time.Time{},
|
||||||
{
|
Arguments: []gameUtils.Argument{
|
||||||
Body: "+connect",
|
{
|
||||||
Value: "127.0.0.1:27015",
|
Body: "+connect",
|
||||||
|
Value: "127.0.0.1:27015",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
GameId: "half-lide-1",
|
||||||
GameId: "half-lide-1",
|
Title: "Half-Life 1 МЯСО",
|
||||||
Title: "Half-Life 1 МЯСО",
|
Status: "Retro shit",
|
||||||
Status: "Retro shit",
|
Expires: time.Time{},
|
||||||
Expires: time.Time{},
|
},
|
||||||
},
|
{
|
||||||
{
|
GameId: "minecraft",
|
||||||
GameId: "minecraft",
|
Title: "Test 3",
|
||||||
Title: "Test 3",
|
Status: "Testing session",
|
||||||
Status: "Testing session",
|
Version: "1.54.7",
|
||||||
Version: "1.54.7",
|
Expires: time.Time{},
|
||||||
Expires: time.Time{},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user