mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
21 lines
450 B
Go
21 lines
450 B
Go
package requests
|
|
|
|
type Content struct {
|
|
Env struct {
|
|
Region string `json:"region"`
|
|
Language string `json:"language"`
|
|
Groups []string `json:"groups"`
|
|
Data interface{} `json:"data"`
|
|
} `json:"env"`
|
|
URI string
|
|
Nodes map[string]struct {
|
|
Id string `json:"id"`
|
|
MimeTypes []string `json:"mimeTypes"`
|
|
Expand bool `json:"expand"`
|
|
} `json:"nodes"`
|
|
}
|
|
|
|
func NewContent() *Content {
|
|
return new(Content)
|
|
}
|