Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveHeartbeats ¶
func SaveHeartbeats(ctx context.Context, v *viper.Viper, heartbeats []heartbeat.Heartbeat, queueFilepath string) error
SaveHeartbeats saves heartbeats to the offline db without trying to send to the API. Used when we have more heartbeats than `offline.SendLimit`, when we couldn't send heartbeats to the API, or the API returned an auth error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.