clock

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: AGPL-3.0 Imports: 1 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlignedTick

func AlignedTick(period time.Duration) <-chan time.Time

AlignedTick returns a tick channel so that, let's say interval is a second then it will tick at every whole second, or if it's 60s than it's every whole minute. Note that in my testing this is about .0001 to 0.0002 seconds later due to scheduling etc.

Types

This section is empty.

Jump to

Keyboard shortcuts

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