Versions in this module Expand all Collapse all v1 v1.0.0 Mar 24, 2023 Changes in this version + const CLOCK_ABSOLUTE_FORMAT_DATE + const CLOCK_ABSOLUTE_FORMAT_WEEK + const CLOCK_ACTION_TYPE_CALLBACK + const CLOCK_ACTION_TYPE_CMD + const CLOCK_ACTION_TYPE_URL + const CLOCK_CHECK_RESULT_REMOVE + const CLOCK_CHECK_RESULT_RUN + const CLOCK_CHECK_RESULT_SLEEP + const CLOCK_ENTITY_HTTP_TIMEOUT + const CLOCK_FIELD_ABSOLUTE_FORMAT + const CLOCK_FIELD_ABSOLUTE_MAP + const CLOCK_FIELD_ABSOLUTE_MIN_SPAN + const CLOCK_FIELD_ABSOLUTE_PERIOD + const CLOCK_FIELD_ACTION_CONTENT + const CLOCK_FIELD_ACTION_TYPE + const CLOCK_FIELD_CALLBACK_IMPL + const CLOCK_FIELD_CURRENT_COUNT + const CLOCK_FIELD_EVENT_NAME + const CLOCK_FIELD_FIRST_DELAY + const CLOCK_FIELD_INTERVAL + const CLOCK_FIELD_LAST_TIME + const CLOCK_FIELD_MAX_COUNT + const CLOCK_FIELD_PARAM_OBJECT + const CLOCK_FIELD_SETUP_TIME + const CLOCK_FIELD_TIME_TYPE + const CLOCK_FIELD_TO_RUN_IN_THE_SAME_THREAD + const CLOCK_MANAGER_INTERVAL + const CLOCK_TIME_TYPE_ABSOLUTE + const CLOCK_TIME_TYPE_INTERVAL + const COMMON_NOT_FOUND + const DATA_HOLDER_TYPE_BOOL + const DATA_HOLDER_TYPE_BUF + const DATA_HOLDER_TYPE_FLOAT + const DATA_HOLDER_TYPE_INT + const DATA_HOLDER_TYPE_LONG + const DATA_HOLDER_TYPE_MIXED + const DATA_HOLDER_TYPE_NONE + const DATA_HOLDER_TYPE_OBJ + const DATA_HOLDER_TYPE_STR + const FILE_COPY_ACTION_OVERWRITE_EXISTED + const FILE_COPY_ACTION_SKIP_EXISTED + const FILE_PERM_DEFAULT + const FILE_TEMP_BUF_DEFAULT + const FLOAT_COMPARE_DIFF + const JSON_CH_B_SLASH + const JSON_CH_COLON + const JSON_CH_COMMA + const JSON_CH_D_QUOTE + const JSON_CH_L_B_L + const JSON_CH_L_B_R + const JSON_CH_M_B_L + const JSON_CH_M_B_R + const JSON_CH_SPACE + const JSON_ET_TYPE_NAME + const JSON_INDENT_SIZE + const JSON_STR_B_SLASH + const JSON_STR_COLON + const JSON_STR_COMMA + const JSON_STR_D_QUOTE + const JSON_STR_FALSE + const JSON_STR_LINE + const JSON_STR_L_B_L + const JSON_STR_L_B_R + const JSON_STR_M_B_L + const JSON_STR_M_B_R + const JSON_STR_NULL + const JSON_STR_SPACE + const JSON_STR_TRUE + const JSON_TYPE_ARRAY + const JSON_TYPE_BOOL + const JSON_TYPE_NONE + const JSON_TYPE_NULL + const JSON_TYPE_NUM + const JSON_TYPE_OBJECT + const JSON_TYPE_TEXT + const OS_DARWIN + const OS_LINUX + const OS_WINDOWS + const REGEX_CHINESE_RULE + const REGEX_EMAIL_RULE + const REGEX_MOBILE_PHONE_RULE + const REGEX_MULTI_PHONE_RULE + const REGEX_NUM_OR_LETTER_RULE + const REGEX_NUM_RULE + const REGEX_PASSWORD_RULE + const REGEX_PHONE_RULE + const REGEX_QQ_RULE + const REGEX_TEL_RULE + const REGEX_TEL_ZONE_RULE + const REGEX_THREE_NUMERIC_RULE + const STR_BLANK_CH + const STR_HEX_CHAR_LOWER + const STR_HEX_CHAR_UPPER + const TIME_FORMAT_DAY + const TIME_FORMAT_HOUR + const TIME_FORMAT_MILLI + const TIME_FORMAT_MINUTE + const TIME_FORMAT_MONTH + const TIME_FORMAT_PREFIX + const TIME_FORMAT_SECOND + const TIME_FORMAT_WEEK + const TIME_FORMAT_YEAR + var ClockManagerStatic = struct{ ... } + var FILE_BOM_UNICODE []byte = []byte + var FILE_BOM_UTF8 []byte = []byte + var Hash8Arr []string = []string + func ArrVoidSort(arrVoid []interface{}, fnCompare ArrVoidSortFn) + func ArrVoidSortSwap(arrContainer []interface{}, iIndexLeft int, iIndexRight int) + func Base64DecStrToBuf(strSrc string) []byte + func Base64DecStrToBufForUrl(strSrc string) []byte + func Base64DecStrToStr(strSrc string) string + func Base64DecStrToStrForUrl(strSrc string) string + func Base64EncBufToStr(bufSrc []byte) string + func Base64EncBufToStrForUrl(bufSrc []byte) string + func Base64EncStrToStr(strSrc string) string + func Base64EncStrToStrForUrl(strSrc string) string + func ByteCombineList(arrBuf [][]byte) []byte + func ByteCopy(bufSrc []byte, iSrcOffset int, bufDest []byte, iDestOffset int, iSize int) int + func ByteEqual(bufLeft []byte, iLeftOffset int, bufRight []byte, iRightOffset int, iSize int) bool + func ByteFindFrom(bufSrc []byte, iSrcOffset int, bufFind []byte) int + func ByteIsEmpty(bufSrc []byte) bool + func ByteSet(bufSrc []byte, iOffset int, iSize int, byteToSet uint8) error + func ByteSubBytes(bufSrc []byte, iOffset int, iSize int) []byte + func CastBoolToNumStr(bValue bool) string + func CastBoolToStr(bValue bool) string + func CastBufToStr(bufData []byte) string + func CastErrToStr(objErr error) string + func CastF64ToStr(fNum float64, iPrecision int) string + func CastI64ToStr(iNum int64) string + func CastIntToBool(iNum int) bool + func CastIntToStr(iNum int) string + func CastStrToBool(strBool string) bool + func CastStrToF64(strNum string) float64 + func CastStrToI64(strNum string) int64 + func CastStrToInt(strNum string) int + func CastVoidToStr(xValue interface{}) string + func CmdExec(strCmd string, arg ...string) error + func CmdOutput(strCmd string, arg ...string) (string, error) + func CmdOutputState(chState chan int, pStrError *string, pStrResult *string, strCmd string, ...) + func CmdOutputTimeout(iMIllisec int, strCmd string, arg ...string) (bool, string, error) + func ExJsonArrSize(pExJson *ExJsonVal) int + func ExJsonClear(pExJson *ExJsonVal) + func ExJsonContains(pExJson *ExJsonVal, strKey string) bool + func ExJsonFromStruct(pExJson *ExJsonVal, xStruct interface{}) error + func ExJsonFromStructByFieldName(pExJson *ExJsonVal, xStruct interface{}) error + func ExJsonFromStructInGroupRecur(groupStruct interface{}) interface + func ExJsonFromStructInGroupToStr(groupStruct interface{}) string + func ExJsonGetBool(pExJson *ExJsonVal, strKey string) bool + func ExJsonGetFloat(pExJson *ExJsonVal, strKey string) float64 + func ExJsonGetI64(pExJson *ExJsonVal, strKey string) int64 + func ExJsonGetIndexBool(pExJson *ExJsonVal, iIndex int) bool + func ExJsonGetIndexFloat(pExJson *ExJsonVal, iIndex int) float64 + func ExJsonGetIndexI64(pExJson *ExJsonVal, iIndex int) int64 + func ExJsonGetIndexInt(pExJson *ExJsonVal, iIndex int) int + func ExJsonGetInt(pExJson *ExJsonVal, strKey string) int + func ExJsonGetStr(pExJson *ExJsonVal, strKey string) string + func ExJsonGetStrByIndex(pExJson *ExJsonVal, iIndex int) string + func ExJsonIsEmpty(pExJson *ExJsonVal) bool + func ExJsonMapContains(pExJson *ExJsonVal, strKey string) bool + func ExJsonMapKeys(pExJson *ExJsonVal) []string + func ExJsonPathGetStr(pExJson *ExJsonVal, arrPath []string) string + func ExJsonPathSetValue(pExJson *ExJsonVal, arrPath []string, xValue interface{}) error + func ExJsonRawToStr(pRawJson *JsonVal) string + func ExJsonReadMapStr(pExJson *ExJsonVal, mapSrc map[string]string) + func ExJsonReadMapVoid(pExJson *ExJsonVal, mapSrc map[string]interface{}) + func ExJsonSet(pExJson *ExJsonVal, strKey string, xValue interface{}) + func ExJsonSetByIndex(pExJson *ExJsonVal, iIndex int, xValue interface{}) + func ExJsonSetChild(pExJson *ExJsonVal, strKey string, pExJsonChild *ExJsonVal) + func ExJsonSetChildByIndex(pExJson *ExJsonVal, iIndex int, pExJsonChild *ExJsonVal) + func ExJsonStructFieldToTag(pExJsonSrc *ExJsonVal, pStruct interface{}, pExJsonDest *ExJsonVal) error + func ExJsonStructFromStr(strJson string, xObj interface{}) error + func ExJsonStructTagToField(pExJsonSrc *ExJsonVal, pStruct interface{}, pExJsonDest *ExJsonVal) error + func ExJsonStructToStr(xObj interface{}) string + func ExJsonToArrMapStr(pExJson *ExJsonVal) []map[string]string + func ExJsonToArrMapVoid(pExJson *ExJsonVal) []map[string]interface + func ExJsonToArrStr(pExJson *ExJsonVal) []string + func ExJsonToArrVoid(pExJson *ExJsonVal) []interface + func ExJsonToMapStr(pExJson *ExJsonVal) map[string]string + func ExJsonToMapVoid(pExJson *ExJsonVal) map[string]interface + func ExJsonToPrettyStr(pExJson *ExJsonVal) string + func ExJsonToStr(pExJson *ExJsonVal) string + func ExJsonToStruct(pExJson *ExJsonVal, pStruct interface{}) error + func ExJsonToStructByFieldName(pExJson *ExJsonVal, pStruct interface{}) error + func ExJsonType(pExJson *ExJsonVal) int + func ExJsonUnmarshal(pExJson *ExJsonVal, strJson string) error + func FileAppendBuf(strFilePath string, bufAppend []byte) error + func FileAppendStr(strFilePath string, strContent string) error + func FileBrowseDirToArrAbs(strDir string) []string + func FileBrowseDirToArrAbsRecur(strDir string, arrAbs []string) + func FileBrowseDirToArrName(strDir string) []string + func FileClearSubDir(strDir string) error + func FileCopyBytes(strSrcPath string, strDestPath string) error + func FileCopyDir(strDirSrc string, strDirDest string, strCopyAction string) error + func FileCopyDirOneLevel(strDirSrc string, strDirDest string, strCopyAction string) error + func FileCopyDirRecur(strDirSrc string, strDirDest string, strCopyAction string) error + func FileGetUnicodeBom() []byte + func FileGetUtfBom() []byte + func FileIsAvailable(strFilePath string) bool + func FileMakeDirAll(strDir string) error + func FilePathDelete(strPath string) error + func FileReadBuf(strFilePath string) []byte + func FileReadLinesToArr(strFilePath string) []string + func FileReadPart(strPath string, iFileOffset int64, iLen int, bufDest []byte, iBufOffset int) error + func FileReadStr(strFilePath string) string + func FileRemoveDir(strDir string) error + func FileRemoveFile(strDir string) error + func FileSetSize(strPath string, iOffset int64) error + func FileSize(strFilePath string) int64 + func FileWriteBuf(strFilePath string, bufContent []byte) error + func FileWritePart(strPath string, iFileOffset int64, bufToWrite []byte) error + func FileWriteStr(strFilePath string, strContent string) error + func FloatEqual(numLeft float64, numRight float64) bool + func Hash8Convert10To62(strNum10 string) string + func Hash8Convert62to10(strNum10 string) string + func Hash8Encode(strSrc string) string + func HttpClientGetBuf(strUrl string, iTimeoutMilli int, mapHeader map[string]string) ([]byte, error) + func HttpClientGetResp(strUrl string, iTimeoutMilli int, mapHeader map[string]string) (*http.Response, error) + func HttpClientGetRespWithRedirect(strUrl string, iTimeoutMilli int, mapHeader map[string]string, toRedirect bool, ...) (*http.Response, int, error) + func HttpClientGetStr(strUrl string, iTimeoutMilli int, mapHeader map[string]string) string + func HttpClientPostBuf(strUrl string, bufRequest []byte, iTimeoutMilli int, ...) ([]byte, error) + func HttpClientPostStr(strUrl string, strPostData string, iTimeoutMilli int, ...) string + func HttpsClientGetBuf(strUrl string, iTimeoutMilli int, mapHeader map[string]string) ([]byte, error) + func HttpsClientGetStr(strUrl string, iTimeoutMilli int, mapHeader map[string]string) string + func JsonArrAppendFloat(pJson *JsonVal, fValue float64) + func JsonArrAppendI64(pJson *JsonVal, iValue int64) + func JsonArrAppendInt(pJson *JsonVal, iValue int) + func JsonArrAppendJson(pJson *JsonVal, pChildJson *JsonVal) + func JsonArrAppendNull(pJson *JsonVal) + func JsonArrAppendNum(pJson *JsonVal, numValue interface{}) + func JsonArrAppendText(pJson *JsonVal, strText string) + func JsonArrClear(pJson *JsonVal) + func JsonArrFillBlank(pJson *JsonVal, iMaxIndex int) + func JsonArrGetBool(pJson *JsonVal, iIndex int) bool + func JsonArrGetFloat(pJson *JsonVal, iIndex int) float64 + func JsonArrGetI64(pJson *JsonVal, iIndex int) int64 + func JsonArrGetInt(pJson *JsonVal, iIndex int) int + func JsonArrGetStr(pJson *JsonVal, iIndex int) string + func JsonArrGetVoid(pJson *JsonVal, iIndex int) interface + func JsonArrRemoveIndex(pJson *JsonVal, iIndex int) + func JsonArrSetBool(pJson *JsonVal, iIndex int, bValue bool) + func JsonArrSetFloat(pJson *JsonVal, iIndex int, fValue float64) + func JsonArrSetI64(pJson *JsonVal, iIndex int, iValue int64) + func JsonArrSetInt(pJson *JsonVal, iIndex int, iValue int) + func JsonArrSetJson(pJson *JsonVal, iIndex int, pChildJson *JsonVal) + func JsonArrSetNull(pJson *JsonVal, iIndex int) + func JsonArrSetNum(pJson *JsonVal, iIndex int, xValue interface{}) + func JsonArrSetText(pJson *JsonVal, iIndex int, strText string) + func JsonArrSetVoid(pJson *JsonVal, iIndex int, xValue interface{}) + func JsonIsArray(pJson *JsonVal) bool + func JsonIsCollection(pJson *JsonVal) bool + func JsonIsEmpty(pJson *JsonVal) bool + func JsonIsObject(pJson *JsonVal) bool + func JsonLen(pJson *JsonVal) int + func JsonMarshal(xObj interface{}) string + func JsonObjClear(pJson *JsonVal) + func JsonObjContainsKey(pJson *JsonVal, strKey string) bool + func JsonObjGetBool(pJson *JsonVal, strKey string) bool + func JsonObjGetFloat(pJson *JsonVal, strKey string) float64 + func JsonObjGetI64(pJson *JsonVal, strKey string) int64 + func JsonObjGetInt(pJson *JsonVal, strKey string) int + func JsonObjGetStr(pJson *JsonVal, strKey string) string + func JsonObjGetVoid(pJson *JsonVal, strKey string) interface + func JsonObjKeys(pJson *JsonVal) []string + func JsonObjRemoveKey(pJson *JsonVal, strKey string) + func JsonObjSetBool(pJson *JsonVal, strKey string, bBool bool) + func JsonObjSetFloat(pJson *JsonVal, strKey string, fValue float64) + func JsonObjSetI64(pJson *JsonVal, strKey string, iValue int64) + func JsonObjSetInt(pJson *JsonVal, strKey string, iValue int) + func JsonObjSetJson(pJson *JsonVal, strKey string, pChildJson *JsonVal) + func JsonObjSetNull(pJson *JsonVal, strKey string) + func JsonObjSetNum(pJson *JsonVal, strKey string, xValue interface{}) + func JsonObjSetText(pJson *JsonVal, strKey string, strText string) + func JsonObjSetVoid(pJson *JsonVal, strKey string, xValue interface{}) + func JsonParserParseByPos(pParser *JsonParser) int + func JsonParserStackPop(pParser *JsonParser) + func JsonParserStackPush(pParser *JsonParser, jsonNew *JsonVal) + func JsonRefresh(pJson *JsonVal, strSrc string) error + func JsonToArrJsonAsVoid(pJson *JsonVal) []interface + func JsonToArrMapStr(pJson *JsonVal) []map[string]string + func JsonToArrMapVoid(pJson *JsonVal) []map[string]interface + func JsonToArrStr(pJson *JsonVal) []string + func JsonToArrVoid(pJson *JsonVal) []interface + func JsonToFormattedStr(pJson *JsonVal) string + func JsonToFormattedStrByLevel(pJson *JsonVal, iLevel int) string + func JsonToMapJson(pJson *JsonVal) map[string]*JsonVal + func JsonToMapJsonAsVoid(pJson *JsonVal) map[string]interface + func JsonToMapStr(pJson *JsonVal) map[string]string + func JsonToMapVoid(pJson *JsonVal) map[string]interface + func JsonToStr(pJson *JsonVal) string + func JsonType(pJson *JsonVal) int + func JsonUnmarshal(strJson string, xObj interface{}) error + func ListBack(pList *list.List) interface + func ListClear(pList *list.List) + func ListContains(pList *list.List, pValue interface{}) bool + func ListCreate() *list.List + func ListFront(pList *list.List) interface + func ListLen(pList *list.List) int + func ListPeekBack(pList *list.List) interface + func ListPeekFront(pList *list.List) interface + func ListPopBack(pList *list.List) interface + func ListPopFront(pList *list.List) interface + func ListPushBack(pList *list.List, pValue interface{}) bool + func ListPushFront(pList *list.List, pValue interface{}) bool + func ListRemove(pList *list.List, pValue interface{}) bool + func ListWalk(pList *list.List, fnWalk ListWalkFn) int + func MapStrClone(mapSrc map[string]string) map[string]string + func MapStrContains(mapSrc map[string]string, strKey string) bool + func MapStrGetBool(mapSrc map[string]string, strKey string) bool + func MapStrGetFloat(mapSrc map[string]string, strKey string) float64 + func MapStrGetInt(mapSrc map[string]string, strKey string) int + func MapStrGetLong(mapSrc map[string]string, strKey string) int64 + func MapStrGetStr(mapSrc map[string]string, strKey string) string + func MapStrSet(mapSrc map[string]string, mapDest map[string]string) int + func MapStrToUrlStr(mapVoid map[string]string) string + func MapVoidContains(mapSrc map[string]interface{}, strKey string) bool + func MapVoidGetBool(mapSrc map[string]interface{}, strKey string) bool + func MapVoidGetFloat(mapSrc map[string]interface{}, strKey string) float64 + func MapVoidGetInt(mapSrc map[string]interface{}, strKey string) int + func MapVoidGetLong(mapSrc map[string]interface{}, strKey string) int64 + func MapVoidGetStr(mapSrc map[string]interface{}, strKey string) string + func MapVoidGetVoid(mapSrc map[string]interface{}, strKey string) interface + func MapVoidToMapStr(mapVoid map[string]interface{}) map[string]string + func MapVoidToUrlStr(mapVoid map[string]interface{}) string + func Md5ToLower32(strSrc string) string + func OsEnvVar(strKey string) string + func OsName() string + func ProcessCurrentId() int + func ProcessParentId() int + func ReflectCallForStrByStr(pObj interface{}, strMethodName string, strParam string) string + func SpJsonArrSize(jsonSp *simplejson.Json) int + func SpJsonContains(jsonSp *simplejson.Json, strKey string) bool + func SpJsonFromBuf(bufJson []byte) *simplejson.Json + func SpJsonFromStr(strJson string) *simplejson.Json + func SpJsonFromStruct(jsonSp *simplejson.Json, stObj interface{}) error + func SpJsonFromStructByFieldName(jsonSp *simplejson.Json, xStruct interface{}) error + func SpJsonFromStructInGroup(groupStruct interface{}) *simplejson.Json + func SpJsonFromStructInGroupRecur(groupStruct interface{}) interface + func SpJsonFromStructInGroupToStr(groupStruct interface{}) string + func SpJsonFromStructNew(stObj interface{}) *simplejson.Json + func SpJsonGetBool(jsonSp *simplejson.Json, strKey string) bool + func SpJsonGetChild(jsonSp *simplejson.Json, strKey string) *simplejson.Json + func SpJsonGetFloat(jsonSp *simplejson.Json, strKey string) float64 + func SpJsonGetI64(jsonSp *simplejson.Json, strKey string) int64 + func SpJsonGetIndexBool(jsonSp *simplejson.Json, iIndex int) bool + func SpJsonGetIndexChild(jsonSp *simplejson.Json, iIndex int) *simplejson.Json + func SpJsonGetIndexFloat(jsonSp *simplejson.Json, iIndex int) float64 + func SpJsonGetIndexI64(jsonSp *simplejson.Json, iIndex int) int64 + func SpJsonGetIndexInt(jsonSp *simplejson.Json, iIndex int) int + func SpJsonGetIndexStr(jsonSp *simplejson.Json, iIndex int) string + func SpJsonGetInt(jsonSp *simplejson.Json, strKey string) int + func SpJsonGetStr(jsonSp *simplejson.Json, strKey string) string + func SpJsonIsEmpty(jsonSp *simplejson.Json) bool + func SpJsonMapContains(jsonSp *simplejson.Json, strKey string) bool + func SpJsonMapKeys(jsonSp *simplejson.Json) []string + func SpJsonPathGetStr(jsonSp *simplejson.Json, strPath string) string + func SpJsonPathSetValue(jsonSp *simplejson.Json, strPath string, xValue interface{}) error + func SpJsonReadMapStr(jsonSp *simplejson.Json, mapSrc map[string]string) + func SpJsonReadMapVoid(jsonSp *simplejson.Json, mapSrc map[string]interface{}) + func SpJsonStructFieldToTag(jsonSpSrc *simplejson.Json, xStruct interface{}, jsonSpDest *simplejson.Json) error + func SpJsonStructFromStr(strJson string, xObj interface{}) error + func SpJsonStructTagToField(jsonSpSrc *simplejson.Json, xStruct interface{}, jsonSpDest *simplejson.Json) error + func SpJsonStructToStr(xObj interface{}) string + func SpJsonToArrMapStr(jsonArr *simplejson.Json) []map[string]string + func SpJsonToArrMapVoid(jsonArr *simplejson.Json) []map[string]interface + func SpJsonToArrStr(jsonSp *simplejson.Json) []string + func SpJsonToArrVoid(jsonSp *simplejson.Json) []interface + func SpJsonToMapStr(jsonSp *simplejson.Json) map[string]string + func SpJsonToMapVoid(jsonSp *simplejson.Json) map[string]interface + func SpJsonToPrettyStr(jsonSp *simplejson.Json) string + func SpJsonToStr(jsonSp *simplejson.Json) string + func SpJsonToStruct(jsonSp *simplejson.Json, stObj interface{}) error + func SpJsonToStructByFieldName(jsonSp *simplejson.Json, xStruct interface{}) error + func SpJsonType(jsonSp *simplejson.Json) int + func StrAddSlashes(strSrc string, chSpecial uint8) string + func StrByteFromHex(strHex string) uint8 + func StrByteToHex(bySrc uint8) string + func StrCapitalize(strSrc string) string + func StrDecodeUriComponent(strSrc string) string + func StrEncodeUriComponent(strSrc string) string + func StrFindChars(strSrc string, strChars string, iFromPos int) int + func StrFindFirstNonBlank(strSrc string, iFromPos int) int + func StrFindFirstWithoutSlash(strSrc string, chToFind uint8, iFromPos int) int + func StrFindFrom(strSrc string, strFind string, iFromPos int) int + func StrFindLastNonBlank(strSrc string) int + func StrHexFromBuf(bufSrc []byte) string + func StrHexToBuf(strHex string) []byte + func StrIsDec(strSrc string) bool + func StrIsInt(strSrc string) bool + func StrIsNum(strSrc string) bool + func StrIsSciNum(strNumLeft, strNumRight string) bool + func StrIsWithIn(strSrc string, strCollection string) bool + func StrPadLeft(strSrc string, strPad string, iTotalCount int) string + func StrPadRight(strSrc string, strPad string, iTotalCount int) string + func StrRemoveStrEnds(strSrc string, strOnEnds string) string + func StrStripSlashes(strSrc string) string + func StrXsvFromMap(mapXsv map[string]string, strSplit1 string, strSplit2 string) string + func StrXsvToMap(strXsv string, strSplit1 string, strSplit2 string) map[string]string + func StructDeepClone(pSrc interface{}) interface + func StructDeepCopy(pSrc interface{}, pDest interface{}) error + func StructInGroupDeepClone(groupStruct interface{}) interface + func StructToMapVoid(xStruct interface{}, strTag string) map[string]interface + func TimeFormatNowToStr(strFormat string) string + func TimeFormatObjToMap(objTime time.Time) map[string]int + func TimeFormatObjToStr(strFormat string, objTime time.Time) string + func TimeFormatStamp13ToMap(iStamp13 int64) map[string]int + func TimeFormatStamp13ToStr(strFormat string, iStamp13 int64) string + func TimeFormattedMapIsContained(mapSmaller map[string]int, mapBigger map[string]int) bool + func TimeFromStamp13(iStamp13 int64) time.Time + func TimeGetMilli(xTime time.Time) int + func TimeGetStamp13(xTime time.Time) int64 + func TimeNowStamp10() int64 + func TimeNowStamp13() int64 + type ArrVoidSortFn func(pLeft interface{}, pRight interface{}) int + type ClockCallback interface + OnTime func(strEventName string, xParam interface{}, iCurrentStamp13 int64) + type ClockEntity struct + AbsoluteFormat string + AbsoluteMap map[string]int + AbsoluteMinSpan int64 + AbsolutePeriod string + ActionContent string + ActionType string + CallbackImpl ClockCallback + CurrentCount int + EventName string + FirstDelay int64 + Interval int64 + LastTime int64 + MaxCount int + ParamObject interface{} + SetupTime int64 + TimeType string + ToRunInTheSameThread bool + func ClockEntityNew(strEventName string, strActionType string, strTimeType string) *ClockEntity + func (pThis *ClockEntity) AnalyzeFormat() error + func (pThis *ClockEntity) CheckBeforeRun(iStamp13 int64) int + func (pThis *ClockEntity) CheckBeforeRunByAbsolute(iStamp13 int64) int + func (pThis *ClockEntity) CheckBeforeRunByInterval(iStamp13 int64) int + func (pThis *ClockEntity) Run(iCurrentStamp13 int64) + func (pThis *ClockEntity) RunSync(iCurrentStamp13 int64) + type ClockManager struct + EntityMap map[string]*ClockEntity + Interval int64 + Mutex sync.Mutex + Running bool + func ClockManagerGetDefaultInstance() *ClockManager + func ClockManagerNew() *ClockManager + func (pThis *ClockManager) AddAbsolute(strEventName string, strActionType string, strActionContent string, ...) error + func (pThis *ClockManager) AddEntity(pEntity *ClockEntity) error + func (pThis *ClockManager) AddInterval(strEventName string, strActionType string, strActionContent string, ...) error + func (pThis *ClockManager) Clear() + func (pThis *ClockManager) IsRunning() bool + func (pThis *ClockManager) Loop() + func (pThis *ClockManager) RemoveEntity(strEventName string) error + func (pThis *ClockManager) SetRunning(bRunning bool) + func (pThis *ClockManager) Start() error + func (pThis *ClockManager) Stop() + type DataHolder struct + func DataHolderNew() *DataHolder + func DataHolderNewStr(strData string) *DataHolder + func (my *DataHolder) GetBool() bool + func (my *DataHolder) GetBuf() []byte + func (my *DataHolder) GetFloat() float64 + func (my *DataHolder) GetInt() int + func (my *DataHolder) GetLong() int64 + func (my *DataHolder) GetObj() interface{} + func (my *DataHolder) GetStr() string + func (my *DataHolder) GetType() string + func (my *DataHolder) SetBool(bData bool) + func (my *DataHolder) SetBuf(bufData []byte) + func (my *DataHolder) SetFloat(fData float64) + func (my *DataHolder) SetInt(iData int) + func (my *DataHolder) SetLong(iLong int64) + func (my *DataHolder) SetObj(xData interface{}) + func (my *DataHolder) SetStr(strData string) + func (my *DataHolder) ToJsonStr() string + func (my *DataHolder) ToStrByFormat(strFormat string) string + func (my *DataHolder) ToUrlStr() string + type ExJsonVal JsonVal + func ExJsonClone(pExJson *ExJsonVal) *ExJsonVal + func ExJsonFromBuf(bufJson []byte) *ExJsonVal + func ExJsonFromStr(strJson string) *ExJsonVal + func ExJsonFromStructInGroup(groupStruct interface{}) *ExJsonVal + func ExJsonFromStructNew(xStruct interface{}) *ExJsonVal + func ExJsonGetChild(pExJson *ExJsonVal, strKey string) *ExJsonVal + func ExJsonGetChildByIndex(pExJson *ExJsonVal, iIndex int) *ExJsonVal + func ExJsonNewArray() *ExJsonVal + func ExJsonNewObject() *ExJsonVal + func ExJsonParse(strText string) *ExJsonVal + func ExJsonPathGetChild(pExJson *ExJsonVal, arrPath []string) *ExJsonVal + func ExJsonRawToPtr(pRawJson *JsonVal) *ExJsonVal + func ExJsonRawToVal(valRawJson JsonVal) ExJsonVal + func (my *ExJsonVal) String() string + type JsonParser struct + func JsonParserNew(strSrc string, jsonRoot *JsonVal) *JsonParser + type JsonVal struct + func ExJsonRawFromPtr(pExJson *ExJsonVal) *JsonVal + func ExJsonRawFromVal(valExJson ExJsonVal) JsonVal + func JsonArrGetJson(pJson *JsonVal, iIndex int) *JsonVal + func JsonFromStr(strSrc string) *JsonVal + func JsonNewArray() *JsonVal + func JsonNewNone() *JsonVal + func JsonNewObject() *JsonVal + func JsonObjGetJson(pJson *JsonVal, strKey string) *JsonVal + func JsonParserResult(pParser *JsonParser) *JsonVal + func JsonParserStackTopJson(pParser *JsonParser) *JsonVal + func JsonToArrJson(pJson *JsonVal) []*JsonVal + func (my JsonVal) EtTypeName() string + func (my JsonVal) JsonValTag() string + func (my JsonVal) String() string + type ListWalkFn func(valueOfElement interface{}) bool