# Functions
AddPeriodToResultSet add a period to result set ResultSet is a set of period, all elements has been union.
AnyToDecimal any to decimal.
ArrayContainsString string contains.
ArrayDistinctInt array distinct.
ArrayIntersectString string intersect.
ArrayJoinInt join int array.
ArrayJoinUint32 join uint32 array.
ArrayReverseInt64 int64 array reverse.
ArrayReverseString stirng array reverse.
ArraySortAscInt sort int array asc.
ArraySortDescInt sort int array desc.
ArraySymDiffString symmetric difference.
ArrayUnionString string union.
BytesCombine combine bytes.
BytesToHex bytes to hexadecimal.
BytesToUint32 byte to uint32.
CST get china location if error will get local location.
CSTE Get CST location with error.
CurGoroutineID get current go routine ID ref https://github.com/golang/net/blob/master/http2/gotrack.go#L51 not recommended http://lanlingzi.cn/post/technical/2016/0813_go_gls/.
DailyTask daily execution.
DailyTaskCST DailyTask for CST.
DailyTaskUTC DailyTask for UTC.
DecimalToAny decimal to any ignore positive and negative.
GbkToUtf8 convert gbk to utf-8.
GetOriginalDst Get the original destination of a TCP connection.
GetStructField get struct field.
No description provided by the author
No description provided by the author
HmacSha1 call golang hmac.
HmacSha256 hmac sha256.
InitInterface init interface to zero value.
InitPointer with value.
InitWithZeroValue init type with default value.
InitWithZeroValueExcludePtr init type with default value if v.Kind() == reflect.Ptr, will init by zero value which point to example var a *int, a is not nil, *a = 0.
IsExported Is this an exported - upper case - name?.
IsExportedOrBuiltinType Is this type exported or a builtin?.
Md5 call golang md5.
Md5ToHex result to hex.
Millisecond get current milli second.
No description provided by the author
NewPeriod create a period.
NewPeriods create a set of period.
No description provided by the author
PeriodContains judge is t in period.
PeriodDifference b - a.
PeriodIntersection intersect two period.
PeriodMinSuperSet period mininum super set.
PeriodPartition split period by interval period not support et is negative.
PeriodsContains judge is t in periods.
PeriodsDifference b - a.
PeriodsIntersection intersect two periods.
PeriodsMinSuperSet periods mininum super set.
PeriodsPartition split periods by interval.
PeriodsSortAsc sort periods by asc.
PeriodsSortDesc sort periods by desc.
PeriodsUnion union two periods.
PeriodUnion union two period.
No description provided by the author
RandomBytesE random by rand.Reader it will use cpu more.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetStructField v is ptr to struct.
Sha256 golang sha256.
Sha256ToHex result to hex.
TrimSpaceAndSlash trim space first, then trim slash.
Uint32ToByte uint32 to byte.
Utf8ToGbk convert utf-8 to gbk.
# Constants
No description provided by the author
from linux/include/uapi/linux/netfilter_ipv6/ip6_tables.h.
No description provided by the author
No description provided by the author
No description provided by the author
from linux/include/uapi/linux/netfilter_ipv4.h.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Node definition.
Period a length or portion of time.
No description provided by the author
StructField struct filed.
Tree definition.
# Type aliases
CallbackFunc callback function.