Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertXmlCalibrationRead ¶
func ConvertXmlCalibrationRead(calibration Calibration) (*apimodel.CalibrationRead, error)
func ConvertXmlGlucoseRead ¶
func ConvertXmlGlucoseRead(read Glucose) (*apimodel.GlucoseRead, error)
Types ¶
type Calibration ¶
type Event ¶
type Event struct { InternalTime string `xml:"InternalTime,attr"` DisplayTime string `xml:"DisplayTime,attr"` EventTime string `xml:"EventTime,attr"` EventType string `xml:"EventType,attr"` Description string `xml:"Decription,attr"` }
Event represents the event structure that holds all events. This includes injections, carbs and exercise.
type EventTimestamp ¶
type EventTimestamp struct { RecordedTime string `json:"recordedTime"` InternalTime string `json:"internalTime"` EventTime string `json:"eventTime"` }
DataTime represents hold a timestamp and a localtime string
Click to show internal directories.
Click to hide internal directories.