Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lzzzzl
/
golang_seo_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b6c1d3db
authored
Dec 09, 2020
by
lzzzzl
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
rabbit消费测试
parent
92d59b03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
cmd/main.go
cmd/main.go
View file @
b6c1d3db
...
...
@@ -3,7 +3,6 @@ package main
import
(
"flag"
"fmt"
"github.com/ichunt2019/golang-rbmq-sl/utils/rabbitmq"
"github.com/ichunt2019/logger"
"github.com/tidwall/gjson"
"golang.seo.server/collect/lxmain"
...
...
@@ -105,14 +104,14 @@ func main() {
fmt
.
Println
(
errLx
)
}
t
:=
&
RecvPro
{}
go
rabbitmq
.
Recv
(
rabbitmq
.
QueueExchange
{
util
.
Configs
.
Rabbitmq_seo_log
.
QueueName
,
util
.
Configs
.
Rabbitmq_seo_log
.
RoutingKey
,
util
.
Configs
.
Rabbitmq_seo_log
.
Exchange
,
util
.
Configs
.
Rabbitmq_seo_log
.
Type
,
util
.
Configs
.
Rabbitmq_seo_log
.
Dns
,
},
t
,
3
)
//
t := &RecvPro{}
//
go rabbitmq.Recv(rabbitmq.QueueExchange{
//
util.Configs.Rabbitmq_seo_log.QueueName,
//
util.Configs.Rabbitmq_seo_log.RoutingKey,
//
util.Configs.Rabbitmq_seo_log.Exchange,
//
util.Configs.Rabbitmq_seo_log.Type,
//
util.Configs.Rabbitmq_seo_log.Dns,
//
}, t, 3)
// 剩余条数
var
lyRemain
=
function
.
RemainCount
(
util
.
Configs
.
Request_url
.
LyUrl
,
util
.
Configs
.
Request_url
.
LyData
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment