31 lines
1.1 KiB
Go
31 lines
1.1 KiB
Go
package spaceapi // import "git.hacknology.de/projekte/spaceapi"
|
|
|
|
type SpaceStatus struct {
|
|
APIVersion string `json:"api,omitempty"`
|
|
Space string `json:"space,omitempty"`
|
|
LogoURL string `json:"logo,omitempty"`
|
|
URL string `json:"url,omitempty"`
|
|
Location Location `json:"location"`
|
|
Contact map[string]string `json:"contact"`
|
|
IssueReportChannels []string `json:"issue_report_channels,omitempty"`
|
|
State State `json:"state"`
|
|
Feeds map[string]Feed `json:"feeds,omitempty"`
|
|
ProjectURLs []string `json:"projects,omitempty"`
|
|
ExtCCC string `json:"ext_ccc,omitempty"`
|
|
}
|
|
|
|
type Location struct {
|
|
Address string `json:"address,omitempty"`
|
|
Longitude float64 `json:"lon,omitempty"`
|
|
Latitude float64 `json:"lat,omitempty"`
|
|
}
|
|
|
|
type State struct {
|
|
Open *bool `json:"open"`
|
|
}
|
|
|
|
type Feed struct {
|
|
Type string `json:"type,omitempty"`
|
|
URL string `json:"url,omitempty"`
|
|
}
|