Documentation ¶
Index ¶
- Constants
- func ByteToInt8(s []byte) []int8
- func GetLocalIP() string
- func Int8ToByte(s []int8) []byte
- func ParseLogNum(strVal string) (ret uint64)
- func ParseLogSizeMb(oriSize string) (ret uint64)
- func ParseStrBool(delay string) (ret bool)
- func ParseTimeOut(timeout int) (ret time.Duration)
- func UniqueInts(a []int) (b []int)
- func UpperBound(sortedArray []int, in int) (index int)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ParseLogNum ¶
ParseLogNum : Parse uint64 from string
func ParseLogSizeMb ¶
ParseLogSizeMb : Translate x(B),xKB,xMB... to uint64 x(MB)
func ParseStrBool ¶
ParseStrBool : Parse bool from string
func ParseTimeOut ¶
ParseTimeOut : Parse time.Duration from int
func UniqueInts ¶
UniqueInts Return unique element list of list a
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.