Documentation ¶ Index ¶ func Run(v *viper.Viper) (int, error) func SendHeartbeats(v *viper.Viper, queueFilepath string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(v *viper.Viper) (int, error) Run executes the heartbeat command. func SendHeartbeats ¶ func SendHeartbeats(v *viper.Viper, queueFilepath string) error SendHeartbeats sends a heartbeat to the wakatime api and includes additional heartbeats from the offline queue, if available and offline sync is not explicitly disabled. Types ¶ This section is empty. Source Files ¶ View all Source files heartbeat.go Click to show internal directories. Click to hide internal directories.