listener

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimerTask

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

func NewTimerTask

func NewTimerTask() *TimerTask

func (*TimerTask) RandRun

func (task *TimerTask) RandRun(ctx context.Context, minInterval, maxInterval time.Duration, do tiny_engine.TaskFunc)

func (*TimerTask) Run

func (task *TimerTask) Run(ctx context.Context, interval time.Duration, do tiny_engine.TaskFunc)

func (*TimerTask) Times

func (task *TimerTask) Times() uint

Jump to

Keyboard shortcuts

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