periodicsync

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 4 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

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