tasker

package
v0.0.0-...-c272ad0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	Cron        string
	Immediately bool
	Run         func()
}

type Tasker

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

func Get

func Get() *Tasker

func (*Tasker) RegisterTasks

func (t *Tasker) RegisterTasks(tasks ...*Task)

func (*Tasker) Start

func (t *Tasker) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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