now

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() time.Time

Get returns the synchronized Now() value equal among all utask instances connected to the same DB this is meant to replace time.Now() in all packages of utask

func Init

func Init() error

Init establishes a synchronization mechanism for all utask instances by comparing time.Now() to the database's NOW value

Types

This section is empty.

Jump to

Keyboard shortcuts

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