MCPcopy Create free account

hub / github.com/xxjwxc/public / functions

Functions2,676 in github.com/xxjwxc/public

↓ 1 callersFunctionscanMapElement
(fieldv reflect.Value, field reflect.StructField, objMap map[string]interface{})
myelastic/myelastic.go:310
↓ 1 callersFunctionscanMapIntoStruct
(obj interface{}, objMap map[string]interface{})
myelastic/myelastic.go:289
↓ 1 callersMethodseek
(offset int64, whence int)
myhwoss/obs/trait_other.go:43
↓ 1 callersMethodsetCallbackReadCloser
(body io.ReadCloser)
myhwoss/obs/callback.go:21
↓ 1 callersMethodsetDefinition
(doc *myswagger.DocSwagger, tmp *StructInfo)
mydoc/common.go:52
↓ 1 callersMethodsetReadCloser
(body io.ReadCloser)
myhwoss/obs/trait_base.go:25
↓ 1 callersFunctionsetRedirectFlag
(statusCode int, method string)
myhwoss/obs/http.go:405
↓ 1 callersFunctionsetURLWithPolicy
(bucketName, canonicalizedUrl string)
myhwoss/obs/auth.go:23
↓ 1 callersFunctionsliceFile
(partSize int64, ufc *UploadCheckpoint)
myhwoss/obs/transfer.go:208
↓ 1 callersFunctionsliceObject
(objectSize, partSize int64, dfc *DownloadCheckpoint)
myhwoss/obs/transfer.go:609
↓ 1 callersFunctionsplitLocale
(locale string)
tools/local.go:28
↓ 1 callersMethodstart
()
myhwoss/obs/pool.go:128
↓ 1 callersMethodstructFieldInfo
(astPkg *ast.Package, sinfo *ast.StructType, structName string)
myast/myast.go:74
↓ 1 callersMethodtempQueueIsEmpty
判断队列是否为空
ratelimit/circle_queue.go:146
↓ 1 callersMethodtempQueueIsEmptyForCopy
用于备份数据的时候,判断虚拟队列是否为空
ratelimit/circle_queue.go:151
↓ 1 callersMethodtempQueueLen
队列总的可用空间长度
ratelimit/circle_queue.go:171
↓ 1 callersFunctiontest1
()
errors/errors_test.go:8
↓ 1 callersFunctiontest11
()
errors/errors_test.go:23
↓ 1 callersFunctiontest2
()
errors/errors_test.go:12
↓ 1 callersFunctiontest21
()
errors/errors_test.go:27
↓ 1 callersMethodunUsedSize
判断队列中还有多少空间未使用
ratelimit/circle_queue.go:166
↓ 1 callersMethodunpadding
使用AES解密文本,解密收删除padding的文本
myaes/myaes.go:47
↓ 1 callersFunctionupdateDownloadFile
(filePath string, rangeStart int64, output *GetObjectOutput)
myhwoss/obs/transfer.go:782
↓ 1 callersMethodupdateIndexOf
updateIndexOf 经过一段时间无访问数据时,从usedVisitorRecordsIndex中删除用户Key
ratelimit/single_rule.go:119
↓ 1 callersMethoduploadPartConcurrent
(ufc *UploadCheckpoint, checkpointFilePath string, input *UploadFileInput, extensions []extensionOptions)
myhwoss/obs/transfer.go:393
↓ 1 callersFunctionwriteAll
(text string)
myclipboard/clipboard/clipboard_unix.go:129
MethodAbortMultipartUploadWithSignedUrl
AbortMultipartUploadWithSignedUrl aborts a multipart upload in a specified bucket by using the multipart upload ID with the specified signed url and s
myhwoss/obs/temporary_signedUrl.go:595
FunctionAbs
(in int)
tools/convert.go:220
MethodAdd
(item interface{})
mysort/common.go:8
MethodAdd
Add 添加一个缓存 lifeSpan:缓存时间,0表示永不超时
myredis/pool.go:56
MethodAdd
添加无参数任务,保持向后兼容
myrunner/myrunner.go:46
MethodAdd
Add 添加一个缓存 lifeSpan:缓存时间,0表示永不超时
myredis1/myredis.go:63
MethodAdd
Add 分数加法
fractional/fractional.go:51
MethodAdd
Add 添加数据 注意:只支持基础类型
myleveldb/myleveldb.go:142
MethodAdd
* 添加记录,覆盖添加 */
myelastic/myelastic.go:162
MethodAdd
* 添加一个缓存 lifeSpan:缓存时间,0表示永不超时 */
mycache1/mycache.go:31
MethodAddAttribute
AddAttribute add text and bg color
mycui/checkbox.go:100
MethodAddButton
AddButton add button
mycui/modal.go:94
MethodAddButton
AddButton add button to form
mycui/form.go:78
MethodAddCheckBox
AddCheckBox add checkbox
mycui/form.go:114
MethodAddCloseFunc
AddCloseFunc add close function
mycui/form.go:166
MethodAddCurrentWorkingCnt
(value int64)
myhwoss/obs/pool.go:186
MethodAddFieldAttribute
AddFieldAttribute add field colors
mycui/inputField.go:118
MethodAddHandlerOnly
AddHandlerOnly add handler not return
mycui/inputField.go:374
MethodAddHandlerOnly
AddHandlerOnly ...
mycui/button.go:140
MethodAddHandlerOnly
AddHandlerOnly add handler not retrun
mycui/checkbox.go:184
FunctionAddImportFile
AddImportFile 添加自定义import文件列表
myast/common.go:28
MethodAddInputField
AddInputField add input field to form
mycui/form.go:51
FunctionAddKV
AddKV 添加语言
myi18n/myi18n.go:28
MethodAddLabelAttribute
AddLabelAttribute add label colors
mycui/inputField.go:129
MethodAddList
AddList 添加一组数据(比一个一个添加速度快很多) 注意:只支持基础类型
myleveldb/myleveldb.go:161
MethodAddMarginLeft
AddMarginLeft add margin left
mycui/inputField.go:152
MethodAddMarginTop
AddMarginTop add margin top
mycui/inputField.go:145
MethodAddMaxWorkerCnt
(value int64)
myhwoss/obs/pool.go:202
MethodAddMaxWorkerCnt
AddMaxWorkerCnt sets the maxWorkerCnt field's value and returns it
myhwoss/obs/pool.go:307
FunctionAddMessages
AddMessages 添加语言
myi18n/myi18n.go:23
MethodAddOne
添加一个
mydoc/mydoc.go:27
MethodAddOneCall
增加一个回调
timerDeal/timerDeal.go:14
MethodAddOption
AddOption add select option
mycui/select.go:51
MethodAddOptions
AddOptions add select options
mycui/select.go:43
MethodAddSelect
AddSelect add select
mycui/form.go:139
FunctionAddSocketClient
添加socket客户端
mywebsocket/broadcast.go:42
MethodAddValidate
AddValidate add input validator
mycui/inputField.go:159
MethodAddValidate
AddValidate add validate
mycui/validator.go:41
MethodAddWorkerCnt
(value int64)
myhwoss/obs/pool.go:194
MethodAppendObject
(input *AppendObjectInput, extensions ...extensionOptions)
myhwoss/obs/client_object.go:414
MethodAppendObjectWithSignedURL
AppendObjectWithSignedUrl uploads an object to the specified bucket with the specified signed url and signed request headers and data
myhwoss/obs/temporary_signedUrl.go:735
FunctionAsString
AsString 转成string
tools/convert.go:35
FunctionBase64Decode
Base64Decode base64 解码
tools/mybase64.go:13
FunctionBase64Encode
Base64Encode base64 编码
tools/mybase64.go:8
FunctionBenchmarkBase32
(b *testing.B)
myglobal/snowflake/snowflake_test.go:388
FunctionBenchmarkBase58
(b *testing.B)
myglobal/snowflake/snowflake_test.go:413
FunctionBenchmarkGenerate
(b *testing.B)
myglobal/snowflake/snowflake_test.go:425
FunctionBenchmarkGenerateMaxSequence
(b *testing.B)
myglobal/snowflake/snowflake_test.go:437
FunctionBenchmarkMarshal
(b *testing.B)
myglobal/snowflake/snowflake_test.go:466
FunctionBenchmarkNotFoundAdd
(b *testing.B)
mycache/cache2go/benchmark_test.go:17
FunctionBenchmarkParseBase32
**************************************************************************** Benchmark Methods
myglobal/snowflake/snowflake_test.go:375
FunctionBenchmarkParseBase58
(b *testing.B)
myglobal/snowflake/snowflake_test.go:400
FunctionBenchmarkReadAll
(b *testing.B)
myclipboard/clipboard/clipboard_test.go:62
FunctionBenchmarkUnmarshal
(b *testing.B)
myglobal/snowflake/snowflake_test.go:451
FunctionBenchmarkWriteAll
(b *testing.B)
myclipboard/clipboard/clipboard_test.go:68
FunctionByteToHex
ByteToHex byte转16进制字符串
tools/convert.go:84
FunctionCallBack
()
server/server_test.go:8
MethodCheck
Check check true or false
mycui/checkbox.go:81
MethodClear
Clear 清空表內容
myredis/pool.go:125
MethodClear
Clear 清空表內容
mycache/mycache.go:86
MethodClear
Clear 清空表內容
myredis1/myredis.go:126
MethodClear
* 清空表內容 */
mycache1/mycache.go:76
MethodClose
Close 关闭
myssh/reader.go:61
MethodClose
Close 关闭
myssh/write.go:31
MethodClose
释放资源,建议NewRabbitMQ获取实例后 配合defer使用
myrabbitmq/myrocketmq.go:51
MethodClose
Close 关闭一个连接
myredis/pool.go:175
MethodClose
Close 关闭
mynotify/mynotify.go:51
MethodClose
清空
mycache/mycache.go:23
MethodClose
Close 清空表內容
mycache/mycache.go:92
MethodClose
()
mywebsocket/mywebsocket.go:75
MethodClose
()
mywebsocket/socket.go:78
MethodClose
()
mytriton/triton.go:40
MethodClose
()
myrocketmq/myrocketmq.go:53
MethodClose
Close close the logger
mylog/zap.go:146
← previousnext →801–900 of 2,676, ranked by callers