change skirdaDomainApi
This commit is contained in:
parent
2a7c682ffa
commit
55433b7d11
@ -1,7 +1,7 @@
|
|||||||
package skirdaobjects
|
package skirdaobjects
|
||||||
|
|
||||||
type LauncherSkirdaDomain struct {
|
type SkirdaDomainApi struct {
|
||||||
SkirdaDomainId string `json:"skirdaDomainId"`
|
SkirdaDomainId string `json:"skirdaDomainId"`
|
||||||
Games []string `json:"Games"`
|
Games []SkirdaGameApi `json:"games"`
|
||||||
Events []string `json:"Events"`
|
Events []SkirdaEventApi `json:"events"`
|
||||||
}
|
}
|
||||||
|
7
skirdaobjects/events.go
Normal file
7
skirdaobjects/events.go
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
package skirdaobjects
|
||||||
|
|
||||||
|
type SkirdaEventApi struct {
|
||||||
|
SkirdaEventId string `json:"skirdaevent_id"`
|
||||||
|
SkirdaGameId string `json:"skirdagame_id"`
|
||||||
|
Title string `json:"title"`
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
package skirdaobjects
|
package skirdaobjects
|
||||||
|
|
||||||
type SkirdaGame struct {
|
type SkirdaGameApi struct {
|
||||||
SkirdaGameId string `bson:"skirdagameid" json:"skirdagameid"`
|
SkirdaGameId string `json:"skirdagameid"`
|
||||||
Title string `bson:"title" json:"title"`
|
Title string `json:"title"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user