ldtime

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 1 Imported by: 14

Documentation

Overview

Package ldtime contains time-related types and functions used by LaunchDarkly packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnixMillisecondTime

type UnixMillisecondTime uint64

UnixMillisecondTime is a millisecond timestamp starting from the Unix epoch.

func UnixMillisFromTime

func UnixMillisFromTime(t time.Time) UnixMillisecondTime

UnixMillisFromTime converts a Time value into UnixMillisecondTime.

func UnixMillisNow

func UnixMillisNow() UnixMillisecondTime

UnixMillisNow returns the current date/time as a UnixMillisecondTime.

Jump to

Keyboard shortcuts

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