package schedule

import "github.com/google/certificate-transparency-go/schedule"

Package schedule provides support for periodically running a function.

Index

Functions

func Every

func Every(ctx context.Context, period time.Duration, f func(context.Context))

Every will call f periodically. The first call will be made immediately. Calls are made synchronously, so f will not be executed concurrently.

Source Files

schedule.go

Version
v1.3.1 (latest)
Published
Jan 15, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
4 days ago

Tools for package owners.