mini

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID1 = 1
	ID2 = 2
	ID3 = 3
)

Variables

This section is empty.

Functions

func GetSchedule

func GetSchedule(id int) kafka.Schedule

Types

type Runner

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

func NewRunner

func NewRunner() *Runner

func (Runner) Close

func (r Runner) Close() error

func (*Runner) Start

func (r *Runner) Start() error

type Sysout

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

func NewHandler

func NewHandler(store hmap.Hmap) Sysout

func (Sysout) Handle

func (s Sysout) Handle(event scheduler.Event)

Print and reschedule all triggered schedules, so there is always 3 schedules planned

Jump to

Keyboard shortcuts

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