http

package
v0.0.0-...-aba061b Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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