timeutil

package
v0.0.0-...-5dd4785 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0, BSD-2-Clause Imports: 1 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sleep

func Sleep(interval time.Duration, shutdownSignal <-chan struct{}) bool

func Ticker

func Ticker(handler func(), interval time.Duration, done <-chan struct{})

Ticker calls the handler with a period specified by the duration argument. It returns when the done channel is closed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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