gotask

package module
v0.0.0-...-f971942 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

gotask

Introduction

Golang task scheduling based on cron

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(task Task)

func Start

func Start()

func Wait

func Wait()

Types

type Task

type Task interface {
	Name() string
	Scheduled() string
	Run() func()
}

Jump to

Keyboard shortcuts

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