myctrl

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelayExec

func DelayExec(t time.Duration, fn func())

func NewGolimiter

func NewGolimiter(goNum int) *goLimiter

func TimerExec

func TimerExec(t time.Duration, fn func())

Types

type GoTimelimiter

type GoTimelimiter interface {
	Begin()
	End()
	Number() int32
}

func NewGoTimeLimiter

func NewGoTimeLimiter(goNum int, t time.Duration) GoTimelimiter

type Golimiter

type Golimiter interface {
	Begin()
	End()
	Number() int32
}

Jump to

Keyboard shortcuts

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