Compare commits

...

2 Commits

Author SHA1 Message Date
6ecd1f8846 add distribution model 2022-11-11 15:44:39 +03:00
5142258f2a add todo 2022-11-11 15:44:28 +03:00
4 changed files with 10 additions and 3 deletions

View File

@ -0,0 +1,7 @@
package distribution
import domainUtils "git.gregbrzezinski.com/Skirda/skirdagoutils/domain"
type Distributiuon struct {
Domains []domainUtils.Domain
}

View File

@ -2,7 +2,7 @@ package domainUtils
import "git.gregbrzezinski.com/Skirda/skirdagoutils/gameUtils" import "git.gregbrzezinski.com/Skirda/skirdagoutils/gameUtils"
var fakeDomains = Domains{ var fakeDomains = Domains{ //TODO: Move to back
Domains: []Domain{defaultDomain}, Domains: []Domain{defaultDomain},
} }

View File

@ -1,6 +1,6 @@
package gameUtils package gameUtils
var garrysmodGame = SteamGame{ var garrysmodGame = SteamGame{ //TODO: Move to front
GameId: "garrysmod", GameId: "garrysmod",
SteamId: "4000", SteamId: "4000",
Args: []Argument{}, Args: []Argument{},

View File

@ -26,7 +26,7 @@ func FindSessionByID(sessionId string, sessions []Session) Session {
} }
} }
var FakeSessions = Sessions{ var FakeSessions = Sessions{ //TODO: Move to front
Sessions: []Session{ Sessions: []Session{
{ {
GameId: "garrysmod", GameId: "garrysmod",