MCPcopy Create free account

hub / github.com/xxjwxc/public / functions

Functions2,676 in github.com/xxjwxc/public

↓ 134 callersFunctiondoLog
(level Level, format string, v ...interface{})
myhwoss/obs/log.go:311
↓ 85 callersMethodClose
()
mylog/mylog.go:25
↓ 73 callersFunctionError
Error 记录错误信息
mylog/mylog.go:49
↓ 72 callersMethodErrorf
(msg string, a ...interface{})
mylog/mylog.go:15
↓ 72 callersMethodUnlock
试着加锁
mycache/mycache.go:25
↓ 61 callersMethodAdd
析构
mycache/mycache.go:18
↓ 61 callersMethoddoHTTPWithSignedURL
(action, method string, signedURL string, actualSignedRequestHeaders http.Header, data io.Reader, output IBase
myhwoss/obs/http.go:222
↓ 58 callersMethodError
(a ...interface{})
mylog/mylog.go:14
↓ 58 callersFunctionfile_grpc_service_proto_rawDescGZIP
()
mytriton/grpc-client/grpc_service.pb.go:5328
↓ 54 callersFunctionsetHeaders
(headers map[string][]string, header string, headerValue []string, isObs bool)
myhwoss/obs/trait_base.go:28
↓ 51 callersFunctionfile_model_config_proto_rawDescGZIP
()
mytriton/grpc-client/model_config.pb.go:5646
↓ 50 callersMethoddoActionWithBucket
(action, method, bucketName string, input ISerializable, output IBaseModel, extensions []extensionOptions)
myhwoss/obs/http.go:75
↓ 41 callersMethodFatalf
系统级错误,退出
mylog/mylog.go:18
↓ 36 callersMethodDo
关闭连接
myredis/myredis.go:22
↓ 28 callersFunctionnewSubResourceSerial
(subResource SubResourceType)
myhwoss/obs/trait_base.go:77
↓ 27 callersMethodPrint
(values ...interface{})
mysqldbv1/log.go:33
↓ 26 callersMethodGet
()
myhwoss/obs/pool.go:27
↓ 25 callersFunctionXmlTranscoding
XmlTranscoding replaces special characters with their escaped form
myhwoss/obs/util.go:47
↓ 24 callersFunctionNewNode
NewNode returns a new snowflake node that can be used to generate snowflake IDs
myglobal/snowflake/snowflake.go:100
↓ 22 callersMethodGenerate
Generate creates and returns a unique snowflake ID To help guarantee uniqueness - Make sure your system is keeping accurate system time - Make sure yo
myglobal/snowflake/snowflake.go:135
↓ 22 callersMethodValue
添加一个元素
mycache/mycache.go:19
↓ 21 callersFunctionCache
Cache returns the existing cache table with given name or creates a new one if the table does not exist yet.
mycache/cache2go/cache.go:22
↓ 21 callersMethodFormat
Format formats the frame according to the fmt.Formatter interface. %s source file %d source line %n function name %v equivalent to %s:%d
errors/stack.go:52
↓ 21 callersFunctionNew
New returns an error with the supplied message. New also records the stack trace at the point it was called.
errors/errors.go:103
↓ 21 callersMethoddoActionWithBucketAndKey
(action, method, bucketName, objectKey string, input ISerializable, output IBaseModel, extensions []extensionO
myhwoss/obs/http.go:82
↓ 19 callersMethodWait
Wait 等待队列消费完成
myqueue/myqueue.go:160
↓ 18 callersMethodGetAccessToken
GetAccessToken 获取微信accesstoken 获取登录凭证
weixin/base.go:47
↓ 17 callersMethodClose
查询所有key
myredis/myredis.go:21
↓ 17 callersMethodData
Data returns the value of this cached item.
mycache/cache2go/cacheitem.go:104
↓ 17 callersFunctionInfof
Infof info level debug
mylog/mylog.go:44
↓ 16 callersMethodString
()
myhwoss/obs/conf.go:73
↓ 16 callersFunctionnewProgressEvent
(eventType ProgressEventType, consumed, total int64)
myhwoss/obs/progress.go:22
↓ 16 callersFunctionpublishProgress
publishProgress
myhwoss/obs/progress.go:39
↓ 15 callersMethodFatal
ErrorString 打印错误信息(不记录错误文件)
mylog/mylog.go:17
↓ 15 callersMethodReplace
Replace 替换
mysort/common.go:54
↓ 15 callersFunctiongetStr
(a ...interface{})
mylog/common.go:72
↓ 14 callersFunctionGetError
GetError 获取错误信息(grpc)
message/message.go:79
↓ 14 callersFunctionOnPostJSON
OnPostJSON 发送修改密码
myhttp/myhttp.go:17
↓ 14 callersFunctionUrlEncode
UrlEncode encodes the input value
myhwoss/obs/util.go:252
↓ 13 callersFunctionInfo
Info info level debug
mylog/mylog.go:39
↓ 13 callersMethodUnlock
试着加锁
myredis/myredis.go:24
↓ 12 callersFunctionGetCurrentTimestamp
GetCurrentTimestamp gets unix time in milliseconds
myhwoss/obs/util.go:116
↓ 12 callersMethodSize
()
myhwoss/obs/progress.go:92
↓ 12 callersMethodType
()
mytriton/grpc-client/model_config.pb.go:143
↓ 12 callersMethodWrite
Write ...
mysqldb/log.go:17
↓ 11 callersFunctionBase64Md5
Base64Md5 returns the md5 value of input with Base64Encode
myhwoss/obs/util.go:177
↓ 11 callersMethodDelete
判断是否存在
mycache/mycache.go:21
↓ 11 callersFunctionErrorf
Errorf 记录错误信息
mylog/mylog.go:54
↓ 11 callersMethodRemove
Remove specified sensitive words from sensitive word map.
wordsfilter/words_filter.go:101
↓ 10 callersMethodAdd
判断是否能ping通
myredis/myredis.go:15
↓ 10 callersFunctionIntToString
IntToString converts int value to string value
myhwoss/obs/util.go:106
↓ 10 callersMethodKey
Key returns the key of this cached item.
mycache/cache2go/cacheitem.go:98
↓ 10 callersFunctionModel
Model Create a score (molecular, denominator) with a denominator default of 1 创建一个分数(分子,分母),分母默认为1:
fractional/fractional.go:19
↓ 9 callersFunctionCheckFileIsExist
CheckFileIsExist 检查目录是否存在
tools/file.go:15
↓ 9 callersMethodDescriptor
()
mytriton/grpc-client/model_config.pb.go:139
↓ 9 callersMethodGetRedisClient
()
myredis/pool.go:24
↓ 9 callersFunctionIsDev
IsDev ... 是否是开发版本
dev/dev.go:18
↓ 9 callersFunctionJSONDecode
JSONDecode Json Decode
tools/json.go:66
↓ 9 callersMethodString
String ...
tools/timeTools.go:212
↓ 9 callersMethodSub
Sub 分数减法
fractional/fractional.go:63
↓ 9 callersMethodtrans
(isObs bool)
myhwoss/obs/trait_base.go:57
↓ 8 callersMethodDO
(con redis.Conn, commandName string, args ...interface{})
myredis/rediscon.go:174
↓ 8 callersMethodDial
Dial 获取一个链接
myredis/rediscon.go:168
↓ 8 callersMethodDrawText
图片上画文字
mydraw/mydraw.go:100
↓ 8 callersMethodExists
Exists returns whether an item exists in the cache. Unlike the Value method Exists neither tries to fetch data via the loadData callback nor does it k
mycache/cache2go/cachetable.go:254
↓ 8 callersFunctionFormatUtcToRfc1123
FormatUtcToRfc1123 gets a textual representation of the RFC1123 format time value
myhwoss/obs/util.go:126
↓ 8 callersFunctionGetRandomString
GetRandomString 生成随机字符串
tools/rand.go:13
↓ 8 callersMethodInt64
Int64 returns an int64 of the snowflake ID
myglobal/snowflake/snowflake.go:165
↓ 8 callersMethodPeek
Peek returns an item from the cache, but does not mark its active status, i.e. does not update the active time. You can also pass additional arguments
mycache/cache2go/cachetable.go:326
↓ 8 callersMethodRun
()
myhwoss/obs/pool.go:67
↓ 8 callersMethodRunNow
立即执行任务
myrunner/myrunner.go:139
↓ 8 callersMethodSaveError
系统级错误,退出
mylog/mylog.go:19
↓ 8 callersMethoddoAction
(action, method, bucketName, objectKey string, input ISerializable, output IBaseModel, xmlResult bool, repeata
myhwoss/obs/http.go:132
↓ 8 callersMethodformatUrls
(bucketName, objectKey string, params map[string]string, escape bool)
myhwoss/obs/conf.go:475
↓ 8 callersFunctionparseSseHeader
(responseHeaders map[string][]string)
myhwoss/obs/convert.go:608
↓ 7 callersFunctionBase64Encode
Base64Encode wrapper of base64.StdEncoding.EncodeToString
myhwoss/obs/util.go:162
↓ 7 callersMethodClose
()
mycui/type.go:22
↓ 7 callersFunctionGetCurrentDirectory
GetCurrentDirectory 获取exe所在目录
tools/file.go:83
↓ 7 callersFunctionGetErrorMsg
func init() { _tryRegisteryCode(NormalMessageID) _tryRegisteryCode(NotFindError) } GetErrorMsg 获取错误消息 参数(int,string)
message/message.go:38
↓ 7 callersMethodLen
Len 获取队列长度
myqueue/myqueue.go:138
↓ 7 callersFunctionNew
工厂方法
myrunner/myrunner.go:36
↓ 7 callersMethodPrintf
(string, ...interface{})
mylog/mylog.go:26
↓ 7 callersFunctionUrlDecodeWithoutError
UrlDecodeWithoutError wrapper of UrlDecode
myhwoss/obs/util.go:235
↓ 7 callersMethodcheckParamsWithBucketName
(bucketName string)
myhwoss/obs/http.go:56
↓ 7 callersMethodgetCtx
()
myredis1/myredis.go:51
↓ 7 callersMethodgetKey
(key interface{})
myredis/rediscon.go:24
↓ 6 callersMethodBytes
Bytes returns a byte slice of the snowflake ID
myglobal/snowflake/snowflake.go:301
↓ 6 callersMethodContains
Contains Whether the string contains sensitive words.
wordsfilter/words_filter.go:91
↓ 6 callersMethodFlush
Flush deletes all items from this cache table.
mycache/cache2go/cachetable.go:352
↓ 6 callersMethodFocus
()
mycui/type.go:19
↓ 6 callersFunctionGetSuccessMsg
GetSuccessMsg 成功消息
message/message.go:66
↓ 6 callersFunctionJSONEncode
JSONEncode string convert to obj
tools/json.go:76
↓ 6 callersFunctionParseStringToStorageClassType
ParseStringToStorageClassType converts string value to StorageClassType value and returns it
myhwoss/obs/convert.go:70
↓ 6 callersMethodSet
Set cached value with key and expire time.
weixin/backup/cache.go:32
↓ 6 callersFunctionStringToInt64
StringToInt64 converts string value to int64 value with default value
myhwoss/obs/util.go:97
↓ 6 callersMethodWrite
(b []byte)
myhwoss/obs/http.go:631
↓ 6 callersMethodgetProgressListener
(extensions []extensionOptions)
myhwoss/obs/conf.go:559
↓ 6 callersMethodpc
pc returns the program counter for this frame; multiple frames may have the same PC value.
errors/stack.go:16
↓ 6 callersFunctiontrans
(subResource SubResourceType, input interface{})
myhwoss/obs/trait_base.go:81
↓ 5 callersMethodAddHandler
AddHandler add handler
mycui/button.go:50
next →1–100 of 2,676, ranked by callers