schedule

package
v0.0.0-...-828d3b4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, task Task) *scheduler

func CommandContext

func CommandContext(cmd *cobra.Command) context.Context

func Commands

func Commands() []*cobra.Command

func Schedule

func Schedule(ctx context.Context)

func Shutdown

func Shutdown(ctx context.Context) error

Types

type Task

type Task func(ctx context.Context)

Jump to

Keyboard shortcuts

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