Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/xxjwxc/public
/ functions
Functions
2,676 in github.com/xxjwxc/public
⨍
Functions
2,676
◇
Types & classes
629
↓ 134 callers
Function
doLog
(level Level, format string, v ...interface{})
myhwoss/obs/log.go:311
↓ 85 callers
Method
Close
()
mylog/mylog.go:25
↓ 73 callers
Function
Error
Error 记录错误信息
mylog/mylog.go:49
↓ 72 callers
Method
Errorf
(msg string, a ...interface{})
mylog/mylog.go:15
↓ 72 callers
Method
Unlock
试着加锁
mycache/mycache.go:25
↓ 61 callers
Method
Add
析构
mycache/mycache.go:18
↓ 61 callers
Method
doHTTPWithSignedURL
(action, method string, signedURL string, actualSignedRequestHeaders http.Header, data io.Reader, output IBase
myhwoss/obs/http.go:222
↓ 58 callers
Method
Error
(a ...interface{})
mylog/mylog.go:14
↓ 58 callers
Function
file_grpc_service_proto_rawDescGZIP
()
mytriton/grpc-client/grpc_service.pb.go:5328
↓ 54 callers
Function
setHeaders
(headers map[string][]string, header string, headerValue []string, isObs bool)
myhwoss/obs/trait_base.go:28
↓ 51 callers
Function
file_model_config_proto_rawDescGZIP
()
mytriton/grpc-client/model_config.pb.go:5646
↓ 50 callers
Method
doActionWithBucket
(action, method, bucketName string, input ISerializable, output IBaseModel, extensions []extensionOptions)
myhwoss/obs/http.go:75
↓ 41 callers
Method
Fatalf
系统级错误,退出
mylog/mylog.go:18
↓ 36 callers
Method
Do
关闭连接
myredis/myredis.go:22
↓ 28 callers
Function
newSubResourceSerial
(subResource SubResourceType)
myhwoss/obs/trait_base.go:77
↓ 27 callers
Method
Print
(values ...interface{})
mysqldbv1/log.go:33
↓ 26 callers
Method
Get
()
myhwoss/obs/pool.go:27
↓ 25 callers
Function
XmlTranscoding
XmlTranscoding replaces special characters with their escaped form
myhwoss/obs/util.go:47
↓ 24 callers
Function
NewNode
NewNode returns a new snowflake node that can be used to generate snowflake IDs
myglobal/snowflake/snowflake.go:100
↓ 22 callers
Method
Generate
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 callers
Method
Value
添加一个元素
mycache/mycache.go:19
↓ 21 callers
Function
Cache
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 callers
Method
Format
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 callers
Function
New
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 callers
Method
doActionWithBucketAndKey
(action, method, bucketName, objectKey string, input ISerializable, output IBaseModel, extensions []extensionO
myhwoss/obs/http.go:82
↓ 19 callers
Method
Wait
Wait 等待队列消费完成
myqueue/myqueue.go:160
↓ 18 callers
Method
GetAccessToken
GetAccessToken 获取微信accesstoken 获取登录凭证
weixin/base.go:47
↓ 17 callers
Method
Close
查询所有key
myredis/myredis.go:21
↓ 17 callers
Method
Data
Data returns the value of this cached item.
mycache/cache2go/cacheitem.go:104
↓ 17 callers
Function
Infof
Infof info level debug
mylog/mylog.go:44
↓ 16 callers
Method
String
()
myhwoss/obs/conf.go:73
↓ 16 callers
Function
newProgressEvent
(eventType ProgressEventType, consumed, total int64)
myhwoss/obs/progress.go:22
↓ 16 callers
Function
publishProgress
publishProgress
myhwoss/obs/progress.go:39
↓ 15 callers
Method
Fatal
ErrorString 打印错误信息(不记录错误文件)
mylog/mylog.go:17
↓ 15 callers
Method
Replace
Replace 替换
mysort/common.go:54
↓ 15 callers
Function
getStr
(a ...interface{})
mylog/common.go:72
↓ 14 callers
Function
GetError
GetError 获取错误信息(grpc)
message/message.go:79
↓ 14 callers
Function
OnPostJSON
OnPostJSON 发送修改密码
myhttp/myhttp.go:17
↓ 14 callers
Function
UrlEncode
UrlEncode encodes the input value
myhwoss/obs/util.go:252
↓ 13 callers
Function
Info
Info info level debug
mylog/mylog.go:39
↓ 13 callers
Method
Unlock
试着加锁
myredis/myredis.go:24
↓ 12 callers
Function
GetCurrentTimestamp
GetCurrentTimestamp gets unix time in milliseconds
myhwoss/obs/util.go:116
↓ 12 callers
Method
Size
()
myhwoss/obs/progress.go:92
↓ 12 callers
Method
Type
()
mytriton/grpc-client/model_config.pb.go:143
↓ 12 callers
Method
Write
Write ...
mysqldb/log.go:17
↓ 11 callers
Function
Base64Md5
Base64Md5 returns the md5 value of input with Base64Encode
myhwoss/obs/util.go:177
↓ 11 callers
Method
Delete
判断是否存在
mycache/mycache.go:21
↓ 11 callers
Function
Errorf
Errorf 记录错误信息
mylog/mylog.go:54
↓ 11 callers
Method
Remove
Remove specified sensitive words from sensitive word map.
wordsfilter/words_filter.go:101
↓ 10 callers
Method
Add
判断是否能ping通
myredis/myredis.go:15
↓ 10 callers
Function
IntToString
IntToString converts int value to string value
myhwoss/obs/util.go:106
↓ 10 callers
Method
Key
Key returns the key of this cached item.
mycache/cache2go/cacheitem.go:98
↓ 10 callers
Function
Model
Model Create a score (molecular, denominator) with a denominator default of 1 创建一个分数(分子,分母),分母默认为1:
fractional/fractional.go:19
↓ 9 callers
Function
CheckFileIsExist
CheckFileIsExist 检查目录是否存在
tools/file.go:15
↓ 9 callers
Method
Descriptor
()
mytriton/grpc-client/model_config.pb.go:139
↓ 9 callers
Method
GetRedisClient
()
myredis/pool.go:24
↓ 9 callers
Function
IsDev
IsDev ... 是否是开发版本
dev/dev.go:18
↓ 9 callers
Function
JSONDecode
JSONDecode Json Decode
tools/json.go:66
↓ 9 callers
Method
String
String ...
tools/timeTools.go:212
↓ 9 callers
Method
Sub
Sub 分数减法
fractional/fractional.go:63
↓ 9 callers
Method
trans
(isObs bool)
myhwoss/obs/trait_base.go:57
↓ 8 callers
Method
DO
(con redis.Conn, commandName string, args ...interface{})
myredis/rediscon.go:174
↓ 8 callers
Method
Dial
Dial 获取一个链接
myredis/rediscon.go:168
↓ 8 callers
Method
DrawText
图片上画文字
mydraw/mydraw.go:100
↓ 8 callers
Method
Exists
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 callers
Function
FormatUtcToRfc1123
FormatUtcToRfc1123 gets a textual representation of the RFC1123 format time value
myhwoss/obs/util.go:126
↓ 8 callers
Function
GetRandomString
GetRandomString 生成随机字符串
tools/rand.go:13
↓ 8 callers
Method
Int64
Int64 returns an int64 of the snowflake ID
myglobal/snowflake/snowflake.go:165
↓ 8 callers
Method
Peek
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 callers
Method
Run
()
myhwoss/obs/pool.go:67
↓ 8 callers
Method
RunNow
立即执行任务
myrunner/myrunner.go:139
↓ 8 callers
Method
SaveError
系统级错误,退出
mylog/mylog.go:19
↓ 8 callers
Method
doAction
(action, method, bucketName, objectKey string, input ISerializable, output IBaseModel, xmlResult bool, repeata
myhwoss/obs/http.go:132
↓ 8 callers
Method
formatUrls
(bucketName, objectKey string, params map[string]string, escape bool)
myhwoss/obs/conf.go:475
↓ 8 callers
Function
parseSseHeader
(responseHeaders map[string][]string)
myhwoss/obs/convert.go:608
↓ 7 callers
Function
Base64Encode
Base64Encode wrapper of base64.StdEncoding.EncodeToString
myhwoss/obs/util.go:162
↓ 7 callers
Method
Close
()
mycui/type.go:22
↓ 7 callers
Function
GetCurrentDirectory
GetCurrentDirectory 获取exe所在目录
tools/file.go:83
↓ 7 callers
Function
GetErrorMsg
func init() { _tryRegisteryCode(NormalMessageID) _tryRegisteryCode(NotFindError) } GetErrorMsg 获取错误消息 参数(int,string)
message/message.go:38
↓ 7 callers
Method
Len
Len 获取队列长度
myqueue/myqueue.go:138
↓ 7 callers
Function
New
工厂方法
myrunner/myrunner.go:36
↓ 7 callers
Method
Printf
(string, ...interface{})
mylog/mylog.go:26
↓ 7 callers
Function
UrlDecodeWithoutError
UrlDecodeWithoutError wrapper of UrlDecode
myhwoss/obs/util.go:235
↓ 7 callers
Method
checkParamsWithBucketName
(bucketName string)
myhwoss/obs/http.go:56
↓ 7 callers
Method
getCtx
()
myredis1/myredis.go:51
↓ 7 callers
Method
getKey
(key interface{})
myredis/rediscon.go:24
↓ 6 callers
Method
Bytes
Bytes returns a byte slice of the snowflake ID
myglobal/snowflake/snowflake.go:301
↓ 6 callers
Method
Contains
Contains Whether the string contains sensitive words.
wordsfilter/words_filter.go:91
↓ 6 callers
Method
Flush
Flush deletes all items from this cache table.
mycache/cache2go/cachetable.go:352
↓ 6 callers
Method
Focus
()
mycui/type.go:19
↓ 6 callers
Function
GetSuccessMsg
GetSuccessMsg 成功消息
message/message.go:66
↓ 6 callers
Function
JSONEncode
JSONEncode string convert to obj
tools/json.go:76
↓ 6 callers
Function
ParseStringToStorageClassType
ParseStringToStorageClassType converts string value to StorageClassType value and returns it
myhwoss/obs/convert.go:70
↓ 6 callers
Method
Set
Set cached value with key and expire time.
weixin/backup/cache.go:32
↓ 6 callers
Function
StringToInt64
StringToInt64 converts string value to int64 value with default value
myhwoss/obs/util.go:97
↓ 6 callers
Method
Write
(b []byte)
myhwoss/obs/http.go:631
↓ 6 callers
Method
getProgressListener
(extensions []extensionOptions)
myhwoss/obs/conf.go:559
↓ 6 callers
Method
pc
pc returns the program counter for this frame; multiple frames may have the same PC value.
errors/stack.go:16
↓ 6 callers
Function
trans
(subResource SubResourceType, input interface{})
myhwoss/obs/trait_base.go:81
↓ 5 callers
Method
AddHandler
AddHandler add handler
mycui/button.go:50
next →
1–100 of 2,676, ranked by callers