offlinesync

package
v1.107.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunWithRateLimiting added in v1.98.1

func RunWithRateLimiting(ctx context.Context, v *viper.Viper) (int, error)

RunWithRateLimiting executes sync-offline-activity command with rate limiting enabled.

func RunWithoutRateLimiting added in v1.98.1

func RunWithoutRateLimiting(ctx context.Context, v *viper.Viper) (int, error)

RunWithoutRateLimiting executes the sync-offline-activity command without rate limiting.

func SyncOfflineActivity

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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