MCPcopy Create free account

hub / github.com/Alexanderklau/Go_project / functions

Functions79 in github.com/Alexanderklau/Go_project

↓ 16 callersFunctionFkZero
FkZero 格式化数据,去掉多余的0
Go-Script/crontab/inficron.go:9
↓ 3 callersFunctionexitErrorf
(msg string, args ...interface{})
Go-Storage/download_obj.go:14
↓ 3 callersFunctionexitErrorf
(msg string, args ...interface{})
Go-Storage/creat_bucket.go:13
↓ 3 callersFunctionexitErrorf
(msg string, args ...interface{})
Go-Storage/upload_obj.go:13
↓ 3 callersFunctiontoString
(obj interface{})
Go-Etcd/Base_Operating/etcd_work.go:13
↓ 2 callersFunctionConnect
Connect 连接Es
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:93
↓ 2 callersFunctionConnect
Connect 连接
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:16
↓ 2 callersMethodCreateIndex
CreateIndex 创建一个index, mapping这个你可以不需要
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:68
↓ 2 callersFunctionexitErrorf
(msg string, args ...interface{})
Go-Storage/bucket_item.go:13
↓ 1 callersFunctionCreateCron
CreateCron 生成crontab语句
Go-Script/crontab/inficron.go:22
↓ 1 callersFunctionDELETE
删除ETCD
Go-Etcd/Base_Operating/etcd_work.go:44
↓ 1 callersFunctionGET
查询ETCD
Go-Etcd/Base_Operating/etcd_work.go:33
↓ 1 callersMethodHighlightMsg
HighlightMsg 高亮方法
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:220
↓ 1 callersFunctionInitES
InitES 初始化Es
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:114
↓ 1 callersFunctionNew
(endpoints ...string)
Go-Etcd/lock_work/newlock.go:32
↓ 1 callersMethodNewleases_lock
(ip string)
Go-Etcd/lock_work/newlock.go:53
↓ 1 callersFunctionPUT
写入ETCD
Go-Etcd/Base_Operating/etcd_work.go:22
↓ 1 callersMethodPut
Put 上传数据
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:110
↓ 1 callersFunctionexitErrorf
(msg string, args ...interface{})
Go-Storage/listbucket.go:14
↓ 1 callersFunctionexitErrorf
(msg string, args ...interface{})
Go-Storage/bucketlist.go:14
↓ 1 callersFunctionnewWithSeconds
()
Go-Script/crontab/crontab.go:10
↓ 1 callersFunctionpingNode
ping 连接测试
Go-Elasticdb/Elasticsearch_process/connect.go:28
MethodClearQueue
ClearQueue 清理队列
Go-Rabbitmq/rabbitmq.go:174
MethodCompute
func (t *T) MethodName(argType T1, replyType *T2) error 一定要满足这种格式, 其中replyType要为指针。并注意大小写
Go-Web/rpc/server.go:26
MethodCompute
func (t *T) MethodName(argType T1, replyType *T2) error 一定要满足这种格式, 其中replyType要为指针。并注意大小写
Go-Web/rpc/client.go:26
MethodConsumeQueue
ConsumeQueue 从队列中取出数据并且消费
Go-Rabbitmq/rabbitmq.go:100
MethodCreateIndex
CreateIndex 创建一个index
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:143
MethodCreateQueue
CreateQueue 创建一个queue队列
Go-Rabbitmq/rabbitmq.go:37
MethodDel
Del 删除指定id数据
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:125
MethodDelIndex
DelIndex 删除Index
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:93
MethodDeleteQueue
DeleteQueue 删除一个queue队列
Go-Rabbitmq/rabbitmq.go:58
MethodFromSize
FromSize 翻页方法
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:208
MethodGetConsumCount
GetConsumCount 获取到队列中正在消费的数据,这里指的是正在有多少数据被消费
Go-Rabbitmq/rabbitmq.go:159
MethodGetMsg
GetMsg 获取Msg
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:183
MethodGetReadyCount
GetReadyCount 统计正在队列中准备且还未消费的数据
Go-Rabbitmq/rabbitmq.go:144
MethodGetSourceByID
GetSourceByID
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:178
MethodGetTaskLogCount
GetTaskLogCount
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:166
MethodGetaskMsg
GetaskMsg
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:187
FunctionInitES
InitES 初始化Es
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:39
FunctionNew
New 开始创建一个新的rabitmq连接
Go-Rabbitmq/rabbitmq.go:24
MethodPrecisesearch
Precisesearch 精准检索
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:243
MethodPublishQueue
PublishQueue 上传消息到queue队列中
Go-Rabbitmq/rabbitmq.go:77
MethodPut
Put 上传数据
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:168
MethodShieldAnotherfield
ShieldAnotherfield 屏蔽指定字段
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:195
FunctionStart
启动server端
Go-Web/rpc/server.go:56
FunctionStart
启动server端
Go-Web/rpc/client.go:56
MethodUpdate
Update 更新数据
Go-Elasticdb/Elasticsearch_sdk/elasticdb.go:141
FunctionaggsSearch
(index, types string)
Go-Elasticdb/Elasticsearch_process/connect.go:136
Functionbatch
批量插入
Go-Elasticdb/Elasticsearch_process/connect.go:69
FunctioncreateIndex
创建 index
Go-Elasticdb/Elasticsearch_process/connect.go:51
FunctiondelIndex
删除 index
Go-Elasticdb/Elasticsearch_process/connect.go:60
FunctionfailOnError
(err error, msg string)
Go-Rabbitmq/rabbitmq.go:17
FunctiongetDoc
获取指定 Id 的文档
Go-Elasticdb/Elasticsearch_process/connect.go:87
FunctionindexExists
校验 index 是否存在
Go-Elasticdb/Elasticsearch_process/connect.go:42
Functioninit
()
Go-Script/Log/log.go:9
Functioninit
初始化
Go-Elasticdb/Elasticsearch_process/connect.go:19
Functionmain
()
Go-Storage/listbucket.go:19
Functionmain
()
Go-Storage/download_obj.go:19
Functionmain
()
Go-Storage/bucket_item.go:18
Functionmain
()
Go-Storage/bucketlist.go:19
Functionmain
()
Go-Storage/creat_bucket.go:18
Functionmain
()
Go-Storage/upload_obj.go:18
Functionmain
()
Go-Web/web.go:23
Functionmain
()
Go-Web/restful.go:10
Functionmain
()
Go-Web/rpc/server.go:80
Functionmain
()
Go-Web/rpc/client.go:80
Functionmain
()
Go-Script/crontab/crontab.go:16
Functionmain
()
Go-Script/crontab/inficron.go:61
Functionmain
()
Go-Script/Log/log.go:21
Functionmain
()
Go-Elasticdb/Elasticsearch_process/connect.go:159
Functionmain
()
Go-Elasticdb/Elasticsearch_process/Es_check.go:10
Functionmain
()
Go-Elasticdb/Elasticsearch_process/example.go:16
Functionmain
()
Go-Elasticdb/ElasticSearch_adv_use/Es_adv.go:267
Functionmain
()
Go-Elasticdb/Elasticsaerch_head/elastic.go:9
Functionmain
()
Go-Etcd/Base_Operating/etcd_work.go:54
Functionmain
()
Go-Etcd/lock_work/newlock.go:102
FunctionsayName
(w http.ResponseWriter, r *http.Request)
Go-Web/web.go:10
Functionsearch
(index, types string)
Go-Elasticdb/Elasticsearch_process/connect.go:123
FunctiontermQuery
term 查询
Go-Elasticdb/Elasticsearch_process/connect.go:104