MCPcopy Create free account

hub / github.com/xxjwxc/public / functions

Functions2,676 in github.com/xxjwxc/public

FunctionTestRace
I feel like there's probably a better way
myglobal/snowflake/snowflake_test.go:43
FunctionTestStartDaily
测试StartDaily方法
myrunner/myrunner_test.go:117
FunctionTestStdLog
(t *testing.T)
mylog/mylog_test.go:13
FunctionTestString
(t *testing.T)
myglobal/snowflake/snowflake_test.go:107
FunctionTestTaskMutex
测试任务互斥机制
myrunner/myrunner_test.go:89
FunctionTestTaskTimeout
测试任务执行超时
myrunner/myrunner_test.go:137
FunctionTestTimeout
(t *testing.T)
myqueue/myqueue_test.go:107
FunctionTestTry
(t *testing.T)
myqueue/myqueue_test.go:65
FunctionTestUnmarshalJSON
(t *testing.T)
myglobal/snowflake/snowflake_test.go:348
FunctionTestUpdateTaskArgs
测试UpdateTaskArgs方法更新任务参数
myrunner/myrunner_test.go:61
FunctionTestUpdateTaskArgsInvalidIndex
测试UpdateTaskArgs方法的无效索引
myrunner/myrunner_test.go:153
FunctionTestWait
(t *testing.T)
myqueue/myqueue_test.go:10
FunctionTestWordsFilter
(t *testing.T)
wordsfilter/words_filter_test.go:7
FunctionTestWorkerPoolDoWait
Determine whether completion (non-blocking) is placed in the workpool and wait for execution results 放到工作池里面 且等待执行结果
workerpool/workerpool_test.go:61
FunctionTestWorkerPoolError
Support for error return 支持错误返回
workerpool/workerpool_test.go:33
FunctionTestWorkerPoolIsDone
Determine whether it is complete (non-blocking) 判断是否完成 (非阻塞)
workerpool/workerpool_test.go:89
FunctionTestWorkerPoolStart
template
workerpool/workerpool_test.go:13
FunctionTestZapLog
(t *testing.T)
mylog/mylog_test.go:30
FunctionTest_NewAdmin
(t *testing.T)
myrabbitmq/myrocketmq_test.go:11
FunctionTest_NewAdmin
(t *testing.T)
myrocketmq/myrocketmq_test.go:9
FunctionTest_cache
(t *testing.T)
myredis/myredis_test.go:9
FunctionTest_cache
(t *testing.T)
mycache/my_test.go:20
FunctionTest_cache
(t *testing.T)
myredis1/my_test.go:9
FunctionTest_cache
(t *testing.T)
mybigcamel/mybigcamel_test.go:9
FunctionTest_cache
(t *testing.T)
mycache1/my_test.go:20
FunctionTest_fal
(t *testing.T)
fractional/fal_test.go:8
FunctionTest_kdn
(t *testing.T)
mykdniao/my_test.go:10
FunctionTest_order
(t *testing.T)
mymath/my_test.go:9
FunctionTest_order
(t *testing.T)
myleveldb/my_test.go:20
FunctionTest_sing
(t *testing.T)
sign/sign_test.go:12
FunctionTest_sing
(t *testing.T)
message/msg_test.go:14
MethodTime
Time returns an int64 unix timestamp in milliseconds of the snowflake ID time DEPRECATED: the below function will be removed in a future release.
myglobal/snowflake/snowflake.go:327
FunctionTimerByHour
TimerByHour 整点执行操作
tools/timeTools.go:137
MethodTraceError
TraceError return trace of error
mylog/zap.go:139
MethodTraceError
TraceError return trace of error
mylog/std.go:82
MethodTraceSetting
(ctx context.Context, in *TraceSettingRequest, opts ...grpc.CallOption)
mytriton/grpc-client/grpc_service_grpc.pb.go:395
MethodTraceSetting
@@ .. cpp:var:: rpc TraceSetting(TraceSettingRequest) @@ returns (TraceSettingResponse) @@ @@ Update and get the trace setting
mytriton/grpc-client/grpc_service_grpc.pb.go:537
MethodTraceSetting
(context.Context, *TraceSettingRequest)
mytriton/grpc-client/grpc_service_grpc.pb.go:605
MethodTruncateTable
TruncateTable 截断表
mysqldb/tabtools.go:85
MethodTryLock
(key interface{}, value interface{}, lifeSpan time.Duration)
myredis/lock.go:10
MethodTryLock
一次操作
myredis/myredis.go:23
MethodTryLock
关闭连接
mycache/mycache.go:24
MethodTryLock
TryLock 试着枷锁
mycache/mycache.go:97
MethodType
()
mytriton/grpc-client/model_config.pb.go:224
MethodType
()
mytriton/grpc-client/model_config.pb.go:277
MethodType
()
mytriton/grpc-client/model_config.pb.go:351
MethodType
()
mytriton/grpc-client/model_config.pb.go:461
MethodType
()
mytriton/grpc-client/model_config.pb.go:515
MethodType
()
mytriton/grpc-client/model_config.pb.go:583
MethodType
()
mytriton/grpc-client/model_config.pb.go:645
MethodType
()
mytriton/grpc-client/model_config.pb.go:735
MethodUnFocus
UnFocus un focus
mycui/inputField.go:219
MethodUnFocus
UnFocus un focus
mycui/button.go:87
MethodUnFocus
UnFocus unfocus
mycui/checkbox.go:121
MethodUnFocus
UnFocus un focus
mycui/select.go:96
FunctionUnicodeEmojiCode
UnicodeEmojiCode Emoji表情转换
tools/convert.go:136
FunctionUnicodeEmojiDecode
UnicodeEmojiDecode Emoji表情解码
tools/convert.go:119
FunctionUniqueID
UniqueID 生成32位guid
tools/tools.go:55
FunctionUnixToTime
UnixToTime 时间戳转换为time
tools/timeTools.go:15
MethodUnlock
(key interface{})
myredis/lock.go:39
MethodUnlock
Unlock 试着解锁
mycache/mycache.go:108
MethodUnmarshalJSON
UnmarshalJSON ...
tools/timeTools.go:190
FunctionUnzip
Unzip 解压
tools/zip.go:28
FunctionUploadFile
上传单个文件
file/file.go:15
MethodUploadFile
UploadFile resume uploads. This API is an encapsulated and enhanced version of multipart upload, and aims to eliminate large file upload failures cau
myhwoss/obs/client_resume.go:19
FunctionUploadMoreFile
UploadMoreFile 多文件上传,dir:空则使用文件后缀做dir
myhttp/myfile.go:22
MethodUploadMoreFile
UploadMoreFile 多文件上传
myfile/webFile.go:51
MethodUploadOneFile
UploadOneFile 单文件上传
myfile/webFile.go:33
MethodUploadPartWithSignedUrl
UploadPartWithSignedUrl uploads a part to a specified bucket by using a specified multipart upload ID with the specified signed url and signed request
myhwoss/obs/temporary_signedUrl.go:625
MethodUploadTmpFile
UploadTmpFile 上传临时文件 (tp:媒体文件类型,分别有图片(image)、语音(voice)、视频(video)和缩略图(thumb))
weixin/base.go:437
MethodUploadTmpFile
发送客服消息
weixin/init.go:53
FunctionV4Auth
V4Auth is a wrapper for v4Auth
myhwoss/obs/authV4.go:83
MethodValidate
Validate validate form items
mycui/form.go:284
MethodValidate
Validate validate value
mycui/validator.go:78
MethodValue
Value 查找一个cache
myredis/pool.go:83
MethodValue
Value 查找一个cache
mycache/mycache.go:55
MethodValue
Value returns an item from the cache and marks it to be kept alive. You can pass additional arguments to your DataLoader callback function.
mycache/cache2go/cachetable.go:298
MethodValue
Value 查找一个cache
myredis1/myredis.go:76
MethodValue
* 查找一个cache value 返回的值 */
mycache1/mycache.go:40
MethodWait
等等一个信息
mynotify/mynotify.go:30
FunctionWithCallbackHeader
(callback string)
myhwoss/obs/extension.go:48
FunctionWithConnectTimeout
WithConnectTimeout is a configurer for ObsClient to set timeout period for establishing an http/https connection, in seconds.
myhwoss/obs/conf.go:166
FunctionWithCustomDomainName
WithCustomDomainName is a configurer for ObsClient.
myhwoss/obs/conf.go:229
FunctionWithCustomHeader
(key string, value string)
myhwoss/obs/extension.go:52
FunctionWithEnableCompression
WithEnableCompression is a configurer for ObsClient to set the Transport.DisableCompression.
myhwoss/obs/conf.go:250
FunctionWithHeaderTimeout
WithHeaderTimeout is a configurer for ObsClient to set the timeout period of obtaining the response headers.
myhwoss/obs/conf.go:109
FunctionWithHttpClient
(httpClient *http.Client)
myhwoss/obs/conf.go:215
FunctionWithHttpTransport
WithHttpTransport is a configurer for ObsClient to set the customized http Transport.
myhwoss/obs/conf.go:209
FunctionWithIdleConnTimeout
WithIdleConnTimeout is a configurer for ObsClient to set the timeout period of an idle HTTP connection in the connection pool, in seconds.
myhwoss/obs/conf.go:182
FunctionWithLog
(isLog bool)
myredis/option.go:71
FunctionWithMaxConnections
WithMaxConnections is a configurer for ObsClient to set the maximum number of idle HTTP connections.
myhwoss/obs/conf.go:137
FunctionWithMaxRedirectCount
WithMaxRedirectCount is a configurer for ObsClient to set the maximum number of times that the request is redirected.
myhwoss/obs/conf.go:236
FunctionWithMaxRetryCount
WithMaxRetryCount is a configurer for ObsClient to set the maximum number of retries when an HTTP/HTTPS connection is abnormal.
myhwoss/obs/conf.go:189
FunctionWithMessage
WithMessage annotates err with a new message. If err is nil, WithMessage returns nil.
errors/errors.go:215
FunctionWithMessagef
WithMessagef annotates err with the format specifier. If err is nil, WithMessagef returns nil.
errors/errors.go:227
FunctionWithNoProxyUrl
WithNoProxyUrl is a configurer for ObsClient to set HTTP no_proxy.
myhwoss/obs/conf.go:123
FunctionWithPathStyle
WithPathStyle is a configurer for ObsClient.
myhwoss/obs/conf.go:144
FunctionWithProxyFromEnv
WithProxyFromEnv is a configurer for ObsClient to get proxy from evironment.
myhwoss/obs/conf.go:130
FunctionWithProxyUrl
WithProxyUrl is a configurer for ObsClient to set HTTP proxy.
myhwoss/obs/conf.go:116
FunctionWithRegion
WithRegion is a configurer for ObsClient.
myhwoss/obs/conf.go:158
← previousnext →2,401–2,500 of 2,676, ranked by callers