Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServices ¶
func GetServices(w http.ResponseWriter, r *http.Request)
Types ¶
type Services ¶
type Services struct {
Weather struct {
Description string `json:"description"`
Icon string `json:"icon"`
Temp float64 `json:"temp"`
TempMin float64 `json:"temp_min"`
TempMax float64 `json:"temp_max"`
Humidity float64 `json:"humidity"`
City string `json:"city"`
} `json:"weather"`
Event struct {
Name string `json:"name"`
StartDate string `json:"start_date"`
VenueName string `json:"venue_name"`
VenueAddress string `json:"venue_address"`
VenueCity string `json:"venue_city"`
EventUrl string `json:"event_url"`
LogoUrl string `json:"logo_url"`
} `json:"event"`
Incident struct {
Severity int `json:"severity"`
Coordinates string `json:"coordinates"`
Description string `json:"description"`
} `json:"incident"`
AppSpecs struct {
AppVersion string `json:"app_version"`
ServingHostname string `json:"serving_hostname"`
} `json:"appspecs"`
}
Click to show internal directories.
Click to hide internal directories.