Documentation ¶
Index ¶
- func ForecastHandler(w http.ResponseWriter, r *http.Request)
- func HistoricalHandler(w http.ResponseWriter, r *http.Request)
- func HistoryHandler(w http.ResponseWriter, r *http.Request)
- func IndexHandler(w http.ResponseWriter, r *http.Request)
- func LiveHandler(w http.ResponseWriter, r *http.Request)
- func NILUAqiHandler(w http.ResponseWriter, r *http.Request)
- func PostFileHandler(w http.ResponseWriter, r *http.Request)
- func PrecipitationHandler(w http.ResponseWriter, r *http.Request)
- func ResourcesHandler(w http.ResponseWriter, r *http.Request)
- func StudentAqisHandler(w http.ResponseWriter, r *http.Request)
- func StudentHandler(w http.ResponseWriter, r *http.Request)
- func UploadHandler(w http.ResponseWriter, r *http.Request)
- func ValidateFileHandler(w http.ResponseWriter, r *http.Request)
- type FileInfo
- type Measurement
- type PostResponse
- type Record
- type Result
- type StudentFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForecastHandler ¶
func ForecastHandler(w http.ResponseWriter, r *http.Request)
Get the first (current) air quality forecast for a specific area
func HistoricalHandler ¶
func HistoricalHandler(w http.ResponseWriter, r *http.Request)
Return historical data for Results: station name, from time, to time, value, unit,
func HistoryHandler ¶
func HistoryHandler(w http.ResponseWriter, r *http.Request)
func IndexHandler ¶
func IndexHandler(w http.ResponseWriter, r *http.Request)
func LiveHandler ¶
func LiveHandler(w http.ResponseWriter, r *http.Request)
func NILUAqiHandler ¶
func NILUAqiHandler(w http.ResponseWriter, r *http.Request)
func PostFileHandler ¶
func PostFileHandler(w http.ResponseWriter, r *http.Request)
func PrecipitationHandler ¶
func PrecipitationHandler(w http.ResponseWriter, r *http.Request)
func ResourcesHandler ¶
func ResourcesHandler(w http.ResponseWriter, r *http.Request)
func StudentAqisHandler ¶
func StudentAqisHandler(w http.ResponseWriter, r *http.Request)
func StudentHandler ¶
func StudentHandler(w http.ResponseWriter, r *http.Request)
func UploadHandler ¶
func UploadHandler(w http.ResponseWriter, r *http.Request)
func ValidateFileHandler ¶
func ValidateFileHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type Measurement ¶
type PostResponse ¶
type Record ¶
type Record struct { Id string `json:"id"` Type string `json:"type"` Attributes Measurement `json:"attributes"` }
Click to show internal directories.
Click to hide internal directories.