utils

package
v0.0.0-...-8c44216 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartTimestamp int64

StartTimestamp - The unix timestamp when the process started

Functions

func GetUnixTimestamp

func GetUnixTimestamp() int64

GetUnixTimestamp -

func GetUptime

func GetUptime() int64

GetUptime -

func IntToStr

func IntToStr(value int) string

IntToStr - alias for strconv.FormatInt, will convert int to string

func StartUptimeTimer

func StartUptimeTimer()

StartUptimeTimer -

func StrToInt

func StrToInt(value string) int

StrToInt - parse a string to a int

Types

This section is empty.

Jump to

Keyboard shortcuts

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