change skirdaDomainApi
This commit is contained in:
parent
2a7c682ffa
commit
55433b7d11
@ -1,7 +1,7 @@
|
||||
package skirdaobjects
|
||||
|
||||
type LauncherSkirdaDomain struct {
|
||||
SkirdaDomainId string `json:"skirdaDomainId"`
|
||||
Games []string `json:"Games"`
|
||||
Events []string `json:"Events"`
|
||||
type SkirdaDomainApi struct {
|
||||
SkirdaDomainId string `json:"skirdaDomainId"`
|
||||
Games []SkirdaGameApi `json:"games"`
|
||||
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
|
||||
|
||||
type SkirdaGame struct {
|
||||
SkirdaGameId string `bson:"skirdagameid" json:"skirdagameid"`
|
||||
Title string `bson:"title" json:"title"`
|
||||
type SkirdaGameApi struct {
|
||||
SkirdaGameId string `json:"skirdagameid"`
|
||||
Title string `json:"title"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user