route

package
v0.0.0-...-d13a077 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 4 Imported by: 1

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL