Documentation
¶
Index ¶
Constants ¶
View Source
const ( LowReading = 39 HighReading = 401 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delta ¶
type Delta struct {
Absolute json.Number `json:"absolute"`
DisplayVal string `json:"display"`
ElapsedMins json.Number `json:"elapsedMins"`
Interpolated bool `json:"interpolated"`
Mean5MinsAgo json.Number `json:"mean5MinsAgo"`
Mgdl Mgdl `json:"mgdl"`
Previous Reading `json:"previous"`
Scaled json.Number `json:"scaled"`
Times Times `json:"times"`
}
type Properties ¶
type Reading ¶
type Reading struct {
Mean json.Number `json:"mean"`
Last Mgdl `json:"last"`
Mills Mills `json:"mills"`
Index json.Number `json:"index,omitempty"`
FromMills Mills `json:"fromMills,omitempty"`
ToMills Mills `json:"toMills,omitempty"`
Sgvs []SGV `json:"sgvs"`
}
func (*Reading) UnmarshalJSON ¶
type SGV ¶
type SGV struct {
ID string `json:"_id"`
Device string `json:"device"`
Direction string `json:"direction"`
Filtered json.Number `json:"filtered"`
Mgdl Mgdl `json:"mgdl"`
Mills Mills `json:"mills"`
Noise json.Number `json:"noise"`
Rssi json.Number `json:"rssi"`
Scaled json.Number `json:"scaled"`
Type string `json:"type"`
Unfiltered json.Number `json:"unfiltered"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.