utils

package
v2.21.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: GPL-3.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSyncMapSize

func GetSyncMapSize(m *sync.Map) int

GetSyncMapSize - returns the sync map size

func GetTimeNoMillis

func GetTimeNoMillis() int64

* * Returns the time truncated to seconds.

func MilliToSeconds

func MilliToSeconds(t int64) (int64, error)

* * Truncates the time to seconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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