time

package
v4.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: GPL-3.0 Imports: 1 Imported by: 42

Documentation

Overview

Package time is a wrapper around the go standard time library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Now

func Now() time.Time

Now returns the current local time.

func Since

func Since(t time.Time) time.Duration

Since returns the duration since t.

func Until

func Until(t time.Time) time.Duration

Until returns the duration until t.

Types

This section is empty.

Directories

Path Synopsis
Package mclockutil is a wrapper for a monotonic clock source.
Package mclockutil is a wrapper for a monotonic clock source.
Package slots includes ticker and timer-related functions for Ethereum consensus.
Package slots includes ticker and timer-related functions for Ethereum consensus.
testing
Package testing includes useful mocks for slot tickers in unit tests.
Package testing includes useful mocks for slot tickers in unit tests.

Jump to

Keyboard shortcuts

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