Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadRain ¶
func ReadRain(qh cqs.QueryHandler) http.HandlerFunc
Types ¶
type RainResponseJson ¶
type RainResponseJson struct {
// IsRaining corresponds to the JSON schema field "is_raining".
IsRaining bool `json:"is_raining"`
// Value corresponds to the JSON schema field "value".
Value int `json:"value"`
}
This schema defines the response to read rain
func (*RainResponseJson) UnmarshalJSON ¶
func (j *RainResponseJson) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.