offlinesync

package
v1.41.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(v *viper.Viper) (int, error)

Run executes the sync-offline-activity command.

func SyncOfflineActivity

func SyncOfflineActivity(v *viper.Viper, queueFilepath string) error

SyncOfflineActivity syncs offline activity by sending heartbeats from the offline queue to the WakaTime API.

Types

type ErrSyncDisabled added in v1.30.5

type ErrSyncDisabled string

ErrSyncDisabled represents when sync is disabled.

func (ErrSyncDisabled) Error added in v1.30.5

func (e ErrSyncDisabled) Error() string

Error method to implement error interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL