Documentation ¶
Index ¶
- func BoolPtr(condition bool) *bool
- func FloatFromString(raw interface{}) (float64, error)
- func Int64FromString(raw interface{}) (int64, error)
- func IntFromString(raw interface{}) (int, error)
- func RecvWindow(d time.Duration) int64
- func TimeFromUnixTimestampDecimal(input float64) time.Time
- func TimeFromUnixTimestampFloat(raw interface{}) (time.Time, error)
- func UnixMillis(t time.Time) int64
- func UnixMillisToNano(milli int64) int64
- func UnixTimestampStrToTime(timeStr string) (time.Time, error)
- func UnixTimestampToTime(timeint64 int64) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatFromString ¶
FloatFromString format
func RecvWindow ¶
RecvWindow converts a supplied time.Duration to milliseconds
func TimeFromUnixTimestampDecimal ¶
TimeFromUnixTimestampDecimal converts a unix timestamp in decimal form to a time.Time
func TimeFromUnixTimestampFloat ¶
TimeFromUnixTimestampFloat format
func UnixMillis ¶
UnixMillis converts a UnixNano timestamp to milliseconds
func UnixMillisToNano ¶
UnixMillisToNano converts Unix milli time to UnixNano
func UnixTimestampStrToTime ¶
UnixTimestampStrToTime returns a time.time and an error
func UnixTimestampToTime ¶
UnixTimestampToTime returns time.time
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.