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
↓ 1 callers
Method
GetJsTicket
GetJsTicket 获取微信js ticket
weixin/base.go:129
↓ 1 callers
Method
GetKey
GetKey gets the Key field value from SseCHeader
myhwoss/obs/trait_base.go:124
↓ 1 callers
Method
GetKeyS
GetKeyS 查询所有key
myredis/pool.go:142
↓ 1 callers
Method
GetKeyS
清空
myredis/myredis.go:20
↓ 1 callers
Function
GetLocalIP
GetLocalIP 获取内网ip
tools/ip.go:28
↓ 1 callers
Method
GetLogisticsTrack
GetLogisticsTrack 在途监控(获取物流轨迹) * logisticCode:物流单号 shipperCode:快递公司编码 customerName: 当顺丰单号查询时,需要在CustomerName赋值寄件人或收件人的手机号后四位数字 */
mykdniao/mykdniao.go:40
↓ 1 callers
Function
GetMd5String
GetMd5String 生成32位md5字串
tools/tools.go:43
↓ 1 callers
Function
GetNode
GetNode 获取node节点
myglobal/myglobal.go:38
↓ 1 callers
Method
GetObject
GetObject downloads object. You can use this API to download an object in a specified bucket.
myhwoss/obs/client_object.go:221
↓ 1 callers
Method
GetObjectAcl
GetObjectAcl gets the ACL of an object. You can use this API to obtain the ACL of an object in a specified bucket.
myhwoss/obs/client_object.go:158
↓ 1 callers
Function
GetPathDirs
GetPathDirs 获取目录所有文件夹
tools/file.go:51
↓ 1 callers
Function
GetReaderLen
(reader io.Reader)
myhwoss/obs/util.go:595
↓ 1 callers
Method
GetType
()
mycui/type.go:18
↓ 1 callers
Function
HandleHttpResponse
(action string, headers map[string][]string, output IBaseModel, resp *http.Response, xmlResult bool, isObs boo
myhwoss/obs/util.go:56
↓ 1 callers
Method
HeadBucket
HeadBucket checks whether a bucket exists. You can use this API to check whether a bucket exists.
myhwoss/obs/client_bucket.go:209
↓ 1 callers
Function
HexSha256
HexSha256 returns the Sha256Hash value of input in hexadecimal format
myhwoss/obs/util.go:221
↓ 1 callers
Method
Infof
(msg string, a ...interface{})
mylog/mylog.go:13
↓ 1 callers
Function
Init
初始化
myglobal/myglobal.go:29
↓ 1 callers
Function
InitDefaultRedis
InitDefaultRedis 初始化(必须要优先调用一次)
myredis/myredis.go:37
↓ 1 callers
Function
InitLogWithCacheCnt
InitLogWithCacheCnt enable logging function
myhwoss/obs/log.go:201
↓ 1 callers
Function
InitRedis
InitRedis 初始化(必须要优先调用一次)
myredis/myredis.go:53
↓ 1 callers
Method
Insert
Insert 插入元素
mysort/common.go:39
↓ 1 callers
Method
IsChecked
IsChecked return check state
mycui/checkbox.go:110
↓ 1 callers
Function
IsContain
(items []string, item string)
myhwoss/obs/util.go:78
↓ 1 callers
Method
IsExist
获取一个value
mycache/mycache.go:20
↓ 1 callers
Method
IsExist
IsExist 判断key是否存在
mycache/mycache.go:65
↓ 1 callers
Function
IsHandleCallbackResponse
(action string, headers map[string][]string, isObs bool)
myhwoss/obs/util.go:69
↓ 1 callers
Function
IsIP
IsIP checks whether the value matches ip address
myhwoss/obs/util.go:247
↓ 1 callers
Method
IsValid
IsValid valid field data will be return true
mycui/inputField.go:267
↓ 1 callers
Method
JSON
(a ...interface{})
mylog/mylog.go:22
↓ 1 callers
Method
Len
()
mycache/cache2go/cachetable.go:376
↓ 1 callers
Method
LifeSpan
LifeSpan returns this item's expiration duration.
mycache/cache2go/cacheitem.go:72
↓ 1 callers
Method
ManualEmptyVisitorRecordsOf
* ManualEmptyVisitorRecordsOf 人工清空某用户的访问数据,主要针对某些特定客户的个性化需求,比如某个客户要求临时允许其访问更多的页面, 此时,调用出函数,清空其历史访问数据,间接实现这个目的,例:ManualEmptyVisitorRecordsOf("andyyu")
ratelimit/rule.go:86
↓ 1 callers
Function
Marshal
* 大驼峰命名规则转换 基本满足大驼峰命名法则 首字母大写 “_” 忽略后大写 device_id 对应 DeviceID create_time 对应 CreateTime location 对应 Location */ * 转换为大驼峰命名法则 首字母大写,“_” 忽略后大写 */
mybigcamel/mybigcamel.go:18
↓ 1 callers
Function
Md5Encoder
Md5Encoder md5 加密
tools/tools.go:20
↓ 1 callers
Method
Model
Model ...
myleveldb/myleveldb.go:92
↓ 1 callers
Method
ModelStreamInfer
@@ .. cpp:var:: rpc ModelStreamInfer(stream ModelInferRequest) returns @@ (stream ModelStreamInferResponse) @@ @@ Perform streaming inferen
mytriton/grpc-client/grpc_service_grpc.pb.go:115
↓ 1 callers
Function
New
New 创建命令行对象 ip IP地址 username 用户名 password 密码 port 端口号,默认22
myssh/myssh.go:28
↓ 1 callers
Function
New
New creates a words filter.
wordsfilter/words_filter.go:23
↓ 1 callers
Function
New
New creates a new ObsClient instance.
myhwoss/obs/client_base.go:28
↓ 1 callers
Function
New
New 创建一个快递鸟接口 * eBusinessID: 商户ID AppKey: key */
mykdniao/mykdniao.go:30
↓ 1 callers
Function
NewAdmin
创建主题
myrocketmq/myrocketmq.go:22
↓ 1 callers
Function
NewCache
* 初始化一个cache cachename 缓存名字 */
mycache1/mycache.go:21
↓ 1 callers
Function
NewCheckBox
NewCheckBox new checkbox
mycui/checkbox.go:28
↓ 1 callers
Function
NewConsumer
消费者
myrocketmq/myrocketmq.go:116
↓ 1 callers
Function
NewDoc
NewDoc 新建一个markdown文件
mydoc/mymarkdown/mymarkdown.go:20
↓ 1 callers
Function
NewProducer
创建消費者
myrocketmq/myrocketmq.go:65
↓ 1 callers
Function
NewRabbitMQ
NewRabbitMQ 创建结构体实例
myrabbitmq/myrocketmq.go:30
↓ 1 callers
Function
NewRedis
NewRedis 初始化一个(InitDefaultRedis(需要优先调用)) groupName:分组名
myredis/myredis.go:70
↓ 1 callers
Function
NewRedis
NewRedis 初始化一个cache cachename 缓存名字
myredis1/myredis.go:21
↓ 1 callers
Function
NewRobot
(accessToken, secret string)
myding/myding.go:52
↓ 1 callers
Function
NewSelect
NewSelect new select
mycui/select.go:22
↓ 1 callers
Function
NewValidator
NewValidator new validator
mycui/validator.go:26
↓ 1 callers
Function
On
(n, dn, d string)
server/server.go:21
↓ 1 callers
Method
OnAddOneSeries
添加一个数据
myecharts/common.go:32
↓ 1 callers
Function
OnCheckSign
* 开始验签 */
sign/sign.go:86
↓ 1 callers
Method
OnDestoryDB
OnDestoryDB 关闭
myleveldb/myleveldb.go:58
↓ 1 callers
Function
OnGetBaseInfo
获取线图基础数据 * t_str line:线 bar:柱 pie:饼 scatter:散点(气泡) effectScatter:带有涟漪特效动画的散点 radar:雷达 tree:树 treemap:面积 sunburst:旭日图 boxplot:箱形图 candlestic
myecharts/myecharts.go:14
↓ 1 callers
Method
OnGetDBOrm
OnGetDBOrm get gorm.db
mysqldbv1/mysqldb.go:27
↓ 1 callers
Method
OnGetDBOrm
OnGetDBOrm get gorm.db
mysqldb/mysqldb.go:35
↓ 1 callers
Function
OnGetJSON
OnGetJSON 发送get 请求
myhttp/myhttp.go:34
↓ 1 callers
Function
OnGetPen
获取画笔
mydraw/mydraw.go:23
↓ 1 callers
Function
OnGetSign
* 生成验签 */
sign/sign.go:57
↓ 1 callers
Function
OnInit
()
sign/sign.go:11
↓ 1 callers
Function
OnInitDB
OnInitDB 初始化
myleveldb/myleveldb.go:24
↓ 1 callers
Function
OnPostForm
OnPostForm form 方式发送post请求
myhttp/myhttp.go:128
↓ 1 callers
Function
OnSetDev
是否开发模式
dev/dev.go:13
↓ 1 callers
Function
Panic
Panic return trace of error
mylog/mylog.go:94
↓ 1 callers
Method
Panic
(a ...interface{})
mylog/mylog.go:20
↓ 1 callers
Function
ParseCallbackResponseToBaseModel
ParseCallbackResponseToBaseModel gets response from Callback Service
myhwoss/obs/convert.go:932
↓ 1 callers
Function
ParseGetAttributeOutput
(output *GetAttributeOutput)
myhwoss/obs/convert.go:1233
↓ 1 callers
Function
ParseGetBucketFSStatusOutput
(output *GetBucketFSStatusOutput)
myhwoss/obs/convert.go:1225
↓ 1 callers
Function
ParseNewFolderOutput
(output *NewFolderOutput)
myhwoss/obs/convert.go:1242
↓ 1 callers
Function
ParseSetObjectMetadataOutput
ParseSetObjectMetadataOutput sets SetObjectMetadataOutput field values with response headers
myhwoss/obs/convert.go:839
↓ 1 callers
Function
ParseStringToAvailableZoneType
ParseStringToAvailableZoneType converts string value to AvailableZoneType value and returns it
myhwoss/obs/convert.go:781
↓ 1 callers
Function
ParseStringToEventType
ParseStringToEventType converts string value to EventType value and returns it
myhwoss/obs/convert.go:45
↓ 1 callers
Function
ParseStringToFSStatusType
(value string)
myhwoss/obs/convert.go:84
↓ 1 callers
Function
ParseXml
ParseXml wrapper of xml.Unmarshal
myhwoss/obs/util.go:192
↓ 1 callers
Function
PostFile
PostFile 模拟客戶端文件上传 fieldname 注意与服务器端保持一致
myhttp/myfile.go:85
↓ 1 callers
Function
PriKeyDecrypt
PriKeyDecrypt 私钥解密
myrsa/myrsa.go:13
↓ 1 callers
Function
PriKeyEncrypt
PriKeyEncrypt 私钥加密
myrsa/myrsa.go:18
↓ 1 callers
Method
PrintRemainingVisits
* PrintRemainingVisits 打印各细分规则下的剩余访问次数 */
ratelimit/rule.go:111
↓ 1 callers
Method
ProgressChanged
(event *ProgressEvent)
myhwoss/obs/progress.go:31
↓ 1 callers
Function
PublicDecrypt
PublicDecrypt 公钥解密
myrsa/myrsa.go:23
↓ 1 callers
Function
PublicEncrypt
PublicEncrypt 公钥加密
myrsa/myrsa.go:8
↓ 1 callers
Method
PutFile
PutFile uploads a file to the specified bucket.
myhwoss/obs/client_object.go:330
↓ 1 callers
Method
PutObjectFromFile
PutObjectFromFile 上传文件流
myalioss/bucket.go:106
↓ 1 callers
Method
PutObjectFromFileName
PutObjectFromFileName 上传本地文件
myhwoss/bucket.go:107
↓ 1 callers
Function
ReSet
ReSet 重置
myi18n/myi18n.go:36
↓ 1 callers
Function
ReadFile
ReadFile 读取文件
tools/file.go:151
↓ 1 callers
Method
ReadMessage
()
mywebsocket/socket.go:69
↓ 1 callers
Method
Refresh
解锁
myredis/myredis.go:25
↓ 1 callers
Method
Refresh
查询所有key
mycache/mycache.go:27
↓ 1 callers
Method
Replace
Replace sensitive words in strings and return new strings.
wordsfilter/words_filter.go:81
↓ 1 callers
Method
ReplaceBack
ReplaceBack 替换i位置且将item插入到头尾部
mysort/common.go:65
↓ 1 callers
Method
ReplaceFront
ReplaceFront 替换i位置且将item插入到头部
mysort/common.go:59
↓ 1 callers
Function
Resize
Resize 设置图片高宽
mydraw/mydraw.go:58
↓ 1 callers
Method
Run
()
myhwoss/obs/transfer.go:86
↓ 1 callers
Method
Run
()
myhwoss/obs/transfer.go:522
↓ 1 callers
Function
SendGet
SendGet 发送get 请求 返回对象
myhttp/myhttp.go:77
← previous
next →
501–600 of 2,676, ranked by callers