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
Function
TestRace
I feel like there's probably a better way
myglobal/snowflake/snowflake_test.go:43
Function
TestStartDaily
测试StartDaily方法
myrunner/myrunner_test.go:117
Function
TestStdLog
(t *testing.T)
mylog/mylog_test.go:13
Function
TestString
(t *testing.T)
myglobal/snowflake/snowflake_test.go:107
Function
TestTaskMutex
测试任务互斥机制
myrunner/myrunner_test.go:89
Function
TestTaskTimeout
测试任务执行超时
myrunner/myrunner_test.go:137
Function
TestTimeout
(t *testing.T)
myqueue/myqueue_test.go:107
Function
TestTry
(t *testing.T)
myqueue/myqueue_test.go:65
Function
TestUnmarshalJSON
(t *testing.T)
myglobal/snowflake/snowflake_test.go:348
Function
TestUpdateTaskArgs
测试UpdateTaskArgs方法更新任务参数
myrunner/myrunner_test.go:61
Function
TestUpdateTaskArgsInvalidIndex
测试UpdateTaskArgs方法的无效索引
myrunner/myrunner_test.go:153
Function
TestWait
(t *testing.T)
myqueue/myqueue_test.go:10
Function
TestWordsFilter
(t *testing.T)
wordsfilter/words_filter_test.go:7
Function
TestWorkerPoolDoWait
Determine whether completion (non-blocking) is placed in the workpool and wait for execution results 放到工作池里面 且等待执行结果
workerpool/workerpool_test.go:61
Function
TestWorkerPoolError
Support for error return 支持错误返回
workerpool/workerpool_test.go:33
Function
TestWorkerPoolIsDone
Determine whether it is complete (non-blocking) 判断是否完成 (非阻塞)
workerpool/workerpool_test.go:89
Function
TestWorkerPoolStart
template
workerpool/workerpool_test.go:13
Function
TestZapLog
(t *testing.T)
mylog/mylog_test.go:30
Function
Test_NewAdmin
(t *testing.T)
myrabbitmq/myrocketmq_test.go:11
Function
Test_NewAdmin
(t *testing.T)
myrocketmq/myrocketmq_test.go:9
Function
Test_cache
(t *testing.T)
myredis/myredis_test.go:9
Function
Test_cache
(t *testing.T)
mycache/my_test.go:20
Function
Test_cache
(t *testing.T)
myredis1/my_test.go:9
Function
Test_cache
(t *testing.T)
mybigcamel/mybigcamel_test.go:9
Function
Test_cache
(t *testing.T)
mycache1/my_test.go:20
Function
Test_fal
(t *testing.T)
fractional/fal_test.go:8
Function
Test_kdn
(t *testing.T)
mykdniao/my_test.go:10
Function
Test_order
(t *testing.T)
mymath/my_test.go:9
Function
Test_order
(t *testing.T)
myleveldb/my_test.go:20
Function
Test_sing
(t *testing.T)
sign/sign_test.go:12
Function
Test_sing
(t *testing.T)
message/msg_test.go:14
Method
Time
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
Function
TimerByHour
TimerByHour 整点执行操作
tools/timeTools.go:137
Method
TraceError
TraceError return trace of error
mylog/zap.go:139
Method
TraceError
TraceError return trace of error
mylog/std.go:82
Method
TraceSetting
(ctx context.Context, in *TraceSettingRequest, opts ...grpc.CallOption)
mytriton/grpc-client/grpc_service_grpc.pb.go:395
Method
TraceSetting
@@ .. cpp:var:: rpc TraceSetting(TraceSettingRequest) @@ returns (TraceSettingResponse) @@ @@ Update and get the trace setting
mytriton/grpc-client/grpc_service_grpc.pb.go:537
Method
TraceSetting
(context.Context, *TraceSettingRequest)
mytriton/grpc-client/grpc_service_grpc.pb.go:605
Method
TruncateTable
TruncateTable 截断表
mysqldb/tabtools.go:85
Method
TryLock
(key interface{}, value interface{}, lifeSpan time.Duration)
myredis/lock.go:10
Method
TryLock
一次操作
myredis/myredis.go:23
Method
TryLock
关闭连接
mycache/mycache.go:24
Method
TryLock
TryLock 试着枷锁
mycache/mycache.go:97
Method
Type
()
mytriton/grpc-client/model_config.pb.go:224
Method
Type
()
mytriton/grpc-client/model_config.pb.go:277
Method
Type
()
mytriton/grpc-client/model_config.pb.go:351
Method
Type
()
mytriton/grpc-client/model_config.pb.go:461
Method
Type
()
mytriton/grpc-client/model_config.pb.go:515
Method
Type
()
mytriton/grpc-client/model_config.pb.go:583
Method
Type
()
mytriton/grpc-client/model_config.pb.go:645
Method
Type
()
mytriton/grpc-client/model_config.pb.go:735
Method
UnFocus
UnFocus un focus
mycui/inputField.go:219
Method
UnFocus
UnFocus un focus
mycui/button.go:87
Method
UnFocus
UnFocus unfocus
mycui/checkbox.go:121
Method
UnFocus
UnFocus un focus
mycui/select.go:96
Function
UnicodeEmojiCode
UnicodeEmojiCode Emoji表情转换
tools/convert.go:136
Function
UnicodeEmojiDecode
UnicodeEmojiDecode Emoji表情解码
tools/convert.go:119
Function
UniqueID
UniqueID 生成32位guid
tools/tools.go:55
Function
UnixToTime
UnixToTime 时间戳转换为time
tools/timeTools.go:15
Method
Unlock
(key interface{})
myredis/lock.go:39
Method
Unlock
Unlock 试着解锁
mycache/mycache.go:108
Method
UnmarshalJSON
UnmarshalJSON ...
tools/timeTools.go:190
Function
Unzip
Unzip 解压
tools/zip.go:28
Function
UploadFile
上传单个文件
file/file.go:15
Method
UploadFile
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
Function
UploadMoreFile
UploadMoreFile 多文件上传,dir:空则使用文件后缀做dir
myhttp/myfile.go:22
Method
UploadMoreFile
UploadMoreFile 多文件上传
myfile/webFile.go:51
Method
UploadOneFile
UploadOneFile 单文件上传
myfile/webFile.go:33
Method
UploadPartWithSignedUrl
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
Method
UploadTmpFile
UploadTmpFile 上传临时文件 (tp:媒体文件类型,分别有图片(image)、语音(voice)、视频(video)和缩略图(thumb))
weixin/base.go:437
Method
UploadTmpFile
发送客服消息
weixin/init.go:53
Function
V4Auth
V4Auth is a wrapper for v4Auth
myhwoss/obs/authV4.go:83
Method
Validate
Validate validate form items
mycui/form.go:284
Method
Validate
Validate validate value
mycui/validator.go:78
Method
Value
Value 查找一个cache
myredis/pool.go:83
Method
Value
Value 查找一个cache
mycache/mycache.go:55
Method
Value
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
Method
Value
Value 查找一个cache
myredis1/myredis.go:76
Method
Value
* 查找一个cache value 返回的值 */
mycache1/mycache.go:40
Method
Wait
等等一个信息
mynotify/mynotify.go:30
Function
WithCallbackHeader
(callback string)
myhwoss/obs/extension.go:48
Function
WithConnectTimeout
WithConnectTimeout is a configurer for ObsClient to set timeout period for establishing an http/https connection, in seconds.
myhwoss/obs/conf.go:166
Function
WithCustomDomainName
WithCustomDomainName is a configurer for ObsClient.
myhwoss/obs/conf.go:229
Function
WithCustomHeader
(key string, value string)
myhwoss/obs/extension.go:52
Function
WithEnableCompression
WithEnableCompression is a configurer for ObsClient to set the Transport.DisableCompression.
myhwoss/obs/conf.go:250
Function
WithHeaderTimeout
WithHeaderTimeout is a configurer for ObsClient to set the timeout period of obtaining the response headers.
myhwoss/obs/conf.go:109
Function
WithHttpClient
(httpClient *http.Client)
myhwoss/obs/conf.go:215
Function
WithHttpTransport
WithHttpTransport is a configurer for ObsClient to set the customized http Transport.
myhwoss/obs/conf.go:209
Function
WithIdleConnTimeout
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
Function
WithLog
(isLog bool)
myredis/option.go:71
Function
WithMaxConnections
WithMaxConnections is a configurer for ObsClient to set the maximum number of idle HTTP connections.
myhwoss/obs/conf.go:137
Function
WithMaxRedirectCount
WithMaxRedirectCount is a configurer for ObsClient to set the maximum number of times that the request is redirected.
myhwoss/obs/conf.go:236
Function
WithMaxRetryCount
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
Function
WithMessage
WithMessage annotates err with a new message. If err is nil, WithMessage returns nil.
errors/errors.go:215
Function
WithMessagef
WithMessagef annotates err with the format specifier. If err is nil, WithMessagef returns nil.
errors/errors.go:227
Function
WithNoProxyUrl
WithNoProxyUrl is a configurer for ObsClient to set HTTP no_proxy.
myhwoss/obs/conf.go:123
Function
WithPathStyle
WithPathStyle is a configurer for ObsClient.
myhwoss/obs/conf.go:144
Function
WithProxyFromEnv
WithProxyFromEnv is a configurer for ObsClient to get proxy from evironment.
myhwoss/obs/conf.go:130
Function
WithProxyUrl
WithProxyUrl is a configurer for ObsClient to set HTTP proxy.
myhwoss/obs/conf.go:116
Function
WithRegion
WithRegion is a configurer for ObsClient.
myhwoss/obs/conf.go:158
← previous
next →
2,401–2,500 of 2,676, ranked by callers