Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAuthnFailed = errors.New("llu: authentication failed")
View Source
var ErrDownForMaintenance = errors.New("llu: servers down for maintenance")
View Source
var ErrNoConnections = errors.New("llu: no connections found")
View Source
var ErrUnexpectedDataFormat = errors.New("llu: unexpected data format")
Functions ¶
This section is empty.
Types ¶
type LLUStore ¶
type LLUStore struct { UserID string // account with view access, not always the patient PatientID string SensorID string SensorSerial string SensorStartTime time.Time // contains filtered or unexported fields }
func (*LLUStore) ErrorIsAuthnFailed ¶
func (*LLUStore) FetchRecent ¶
FetchRecent fetches entries newer than `lastSeen`, in oldest-first order LibreLinkUp typically returns 48 data points: - 47 points are smoothed 15-minute interval readings covering the last 12 hours - The 48th point is the most recent real-time reading (1-minute interval) This means we get - Initial backfill of 12 hours of data at startup - Continuous real-time updates when polling every minute
Click to show internal directories.
Click to hide internal directories.