Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alexanderklau/Go_project
/ functions
Functions
79 in github.com/Alexanderklau/Go_project
⨍
Functions
79
◇
Types & classes
13
↓ 16 callers
Function
FkZero
FkZero 格式化数据,去掉多余的0
Go-Script/crontab/inficron.go:9
↓ 3 callers
Function
exitErrorf
(msg string, args ...interface{})
Go-Storage/download_obj.go:14
↓ 3 callers
Function
exitErrorf
(msg string, args ...interface{})
Go-Storage/creat_bucket.go:13
↓ 3 callers
Function
exitErrorf
(msg string, args ...interface{})
Go-Storage/upload_obj.go:13
↓ 3 callers
Function
toString
(obj interface{})
Go-Etcd/Base_Operating/etcd_work.go:13
↓ 2 callers
Function
Connect
Connect 连接Es
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:93
↓ 2 callers
Function
Connect
Connect 连接
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:16
↓ 2 callers
Method
CreateIndex
CreateIndex 创建一个index, mapping这个你可以不需要
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:68
↓ 2 callers
Function
exitErrorf
(msg string, args ...interface{})
Go-Storage/bucket_item.go:13
↓ 1 callers
Function
CreateCron
CreateCron 生成crontab语句
Go-Script/crontab/inficron.go:22
↓ 1 callers
Function
DELETE
删除ETCD
Go-Etcd/Base_Operating/etcd_work.go:44
↓ 1 callers
Function
GET
查询ETCD
Go-Etcd/Base_Operating/etcd_work.go:33
↓ 1 callers
Method
HighlightMsg
HighlightMsg 高亮方法
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:220
↓ 1 callers
Function
InitES
InitES 初始化Es
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:114
↓ 1 callers
Function
New
(endpoints ...string)
Go-Etcd/lock_work/newlock.go:32
↓ 1 callers
Method
Newleases_lock
(ip string)
Go-Etcd/lock_work/newlock.go:53
↓ 1 callers
Function
PUT
写入ETCD
Go-Etcd/Base_Operating/etcd_work.go:22
↓ 1 callers
Method
Put
Put 上传数据
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:110
↓ 1 callers
Function
exitErrorf
(msg string, args ...interface{})
Go-Storage/listbucket.go:14
↓ 1 callers
Function
exitErrorf
(msg string, args ...interface{})
Go-Storage/bucketlist.go:14
↓ 1 callers
Function
newWithSeconds
()
Go-Script/crontab/crontab.go:10
↓ 1 callers
Function
pingNode
ping 连接测试
Go-Elasticdb/Elasticsearch_process/connect.go:28
Method
ClearQueue
ClearQueue 清理队列
Go-Rabbitmq/rabbitmq.go:174
Method
Compute
func (t *T) MethodName(argType T1, replyType *T2) error 一定要满足这种格式, 其中replyType要为指针。并注意大小写
Go-Web/rpc/server.go:26
Method
Compute
func (t *T) MethodName(argType T1, replyType *T2) error 一定要满足这种格式, 其中replyType要为指针。并注意大小写
Go-Web/rpc/client.go:26
Method
ConsumeQueue
ConsumeQueue 从队列中取出数据并且消费
Go-Rabbitmq/rabbitmq.go:100
Method
CreateIndex
CreateIndex 创建一个index
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:143
Method
CreateQueue
CreateQueue 创建一个queue队列
Go-Rabbitmq/rabbitmq.go:37
Method
Del
Del 删除指定id数据
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:125
Method
DelIndex
DelIndex 删除Index
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:93
Method
DeleteQueue
DeleteQueue 删除一个queue队列
Go-Rabbitmq/rabbitmq.go:58
Method
FromSize
FromSize 翻页方法
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:208
Method
GetConsumCount
GetConsumCount 获取到队列中正在消费的数据,这里指的是正在有多少数据被消费
Go-Rabbitmq/rabbitmq.go:159
Method
GetMsg
GetMsg 获取Msg
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:183
Method
GetReadyCount
GetReadyCount 统计正在队列中准备且还未消费的数据
Go-Rabbitmq/rabbitmq.go:144
Method
GetSourceByID
GetSourceByID
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:178
Method
GetTaskLogCount
GetTaskLogCount
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:166
Method
GetaskMsg
GetaskMsg
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:187
Function
InitES
InitES 初始化Es
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:39
Function
New
New 开始创建一个新的rabitmq连接
Go-Rabbitmq/rabbitmq.go:24
Method
Precisesearch
Precisesearch 精准检索
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:243
Method
PublishQueue
PublishQueue 上传消息到queue队列中
Go-Rabbitmq/rabbitmq.go:77
Method
Put
Put 上传数据
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:168
Method
ShieldAnotherfield
ShieldAnotherfield 屏蔽指定字段
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:195
Function
Start
启动server端
Go-Web/rpc/server.go:56
Function
Start
启动server端
Go-Web/rpc/client.go:56
Method
Update
Update 更新数据
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:141
Function
aggsSearch
(index, types string)
Go-Elasticdb/Elasticsearch_process/connect.go:136
Function
batch
批量插入
Go-Elasticdb/Elasticsearch_process/connect.go:69
Function
createIndex
创建 index
Go-Elasticdb/Elasticsearch_process/connect.go:51
Function
delIndex
删除 index
Go-Elasticdb/Elasticsearch_process/connect.go:60
Function
failOnError
(err error, msg string)
Go-Rabbitmq/rabbitmq.go:17
Function
getDoc
获取指定 Id 的文档
Go-Elasticdb/Elasticsearch_process/connect.go:87
Function
indexExists
校验 index 是否存在
Go-Elasticdb/Elasticsearch_process/connect.go:42
Function
init
()
Go-Script/Log/log.go:9
Function
init
初始化
Go-Elasticdb/Elasticsearch_process/connect.go:19
Function
main
()
Go-Storage/listbucket.go:19
Function
main
()
Go-Storage/download_obj.go:19
Function
main
()
Go-Storage/bucket_item.go:18
Function
main
()
Go-Storage/bucketlist.go:19
Function
main
()
Go-Storage/creat_bucket.go:18
Function
main
()
Go-Storage/upload_obj.go:18
Function
main
()
Go-Web/web.go:23
Function
main
()
Go-Web/restful.go:10
Function
main
()
Go-Web/rpc/server.go:80
Function
main
()
Go-Web/rpc/client.go:80
Function
main
()
Go-Script/crontab/crontab.go:16
Function
main
()
Go-Script/crontab/inficron.go:61
Function
main
()
Go-Script/Log/log.go:21
Function
main
()
Go-Elasticdb/Elasticsearch_process/connect.go:159
Function
main
()
Go-Elasticdb/Elasticsearch_process/Es_check.go:10
Function
main
()
Go-Elasticdb/Elasticsearch_process/example.go:16
Function
main
()
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:267
Function
main
()
Go-Elasticdb/Elasticsaerch_head/elastic.go:9
Function
main
()
Go-Etcd/Base_Operating/etcd_work.go:54
Function
main
()
Go-Etcd/lock_work/newlock.go:102
Function
sayName
(w http.ResponseWriter, r *http.Request)
Go-Web/web.go:10
Function
search
(index, types string)
Go-Elasticdb/Elasticsearch_process/connect.go:123
Function
termQuery
term 查询
Go-Elasticdb/Elasticsearch_process/connect.go:104