Documentation ¶ Index ¶ func SaveHeartbeats(v *viper.Viper, heartbeats []heartbeat.Heartbeat) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SaveHeartbeats ¶ func SaveHeartbeats(v *viper.Viper, heartbeats []heartbeat.Heartbeat) error SaveHeartbeats saves heartbeats to the offline db, when we haven't tried sending them to the API. If we tried sending to API already, to the API. Used when we have heartbeats unsent to API. Types ¶ This section is empty. Source Files ¶ View all Source files offline.go Click to show internal directories. Click to hide internal directories.