change skirdaDomain
This commit is contained in:
parent
b397940fef
commit
528846c002
@ -6,16 +6,14 @@ import (
|
|||||||
|
|
||||||
type SkirdaDomain struct {
|
type SkirdaDomain struct {
|
||||||
DomainId string `json:"domainId"`
|
DomainId string `json:"domainId"`
|
||||||
//SkirdaGames `json:"games"`
|
Users []SkirdaDomainUser `json:"users"`
|
||||||
Users []SkirdaDomainUser
|
|
||||||
Games []string `json:"games"`
|
Games []string `json:"games"`
|
||||||
Events []string `json:"events"`
|
Events []string `json:"events"`
|
||||||
// skirdasession.SkirdaSessions
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type SkirdaDomainUser struct {
|
type SkirdaDomainUser struct {
|
||||||
SkirdaUserId string
|
SkirdaUserId string `json:"skirdauserid"`
|
||||||
Role string
|
RolesId []string `json:"rolesid"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//func (domain SkirdaDomain) BuildDomain(newGames []SkirdaGame, newSessions []SkirdaSession) {
|
//func (domain SkirdaDomain) BuildDomain(newGames []SkirdaGame, newSessions []SkirdaSession) {
|
||||||
|
Loading…
Reference in New Issue
Block a user