runner

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeriodicRunner

type PeriodicRunner struct {
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(updateInterval time.Duration, updateFn RunnerFn, logger *log.Logger) *PeriodicRunner

func (*PeriodicRunner) Start

func (u *PeriodicRunner) Start(ctx context.Context) error

func (*PeriodicRunner) Stop

func (u *PeriodicRunner) Stop(ctx context.Context) error

type RunnerFn

type RunnerFn func(ctx context.Context) error

Jump to

Keyboard shortcuts

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