Categorygithub.com/rayark/go-bj4
modulepackage
0.1.0
Repository: https://github.com/rayark/go-bj4.git
Documentation: pkg.go.dev

# README

bj4

GoDoc Build Status

One-task-at-a-time task scheduling.


# Functions

New initiates the scheduler.

# Variables

No description provided by the author
No description provided by the author

# Structs

BJ4 is the scheduler struct itself.
BuiltinLogger implements Logger.
Config configures the scheduler.
LogrusLogger implements Logger and uses sirupsen/logrus to log.
NilLogger implements Logger and does nothing.
Task defines the scheduler task.
TaskStatus defines the status of a task.

# Interfaces

Logger is an interface for bj4 to log.

# Type aliases

TaskFunction defines the function of a task.