utils

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Timeout = errors.New("timeout")
)

Functions

func StopWatcher

func StopWatcher(after func())

StopWatcher @Description: @param after

func TimeoutTask

func TimeoutTask(f func() error, duration time.Duration) error

TimeoutTask @Description: @param f @param duration @return error

Types

This section is empty.

Jump to

Keyboard shortcuts

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