listener

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 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 {
	Times     uint
	FirstExec bool
	Do        conctrl.BaseTaskFunc
}

func (*TimerTask) RandTimer

func (task *TimerTask) RandTimer(ctx context.Context, start, stop time.Duration)

func (*TimerTask) Timer

func (task *TimerTask) Timer(ctx context.Context, interval time.Duration)

Jump to

Keyboard shortcuts

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