periodicsync

package
v0.5.0-alpha.15 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeriodicSync

type PeriodicSync interface {
	Run()
	Close()
}

func NewPeriodicSync

func NewPeriodicSync(periodSeconds int, timeout time.Duration, caller SyncerFunc, l logger.CtxLogger) PeriodicSync

func NewPeriodicSyncDuration added in v0.4.0

func NewPeriodicSyncDuration(periodicLoopInterval, timeout time.Duration, caller SyncerFunc, l logger.CtxLogger) PeriodicSync

type SyncerFunc

type SyncerFunc func(ctx context.Context) error

Directories

Path Synopsis
Package mock_periodicsync is a generated GoMock package.
Package mock_periodicsync is a generated GoMock package.

Jump to

Keyboard shortcuts

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