Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-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
f14d7d8f
authored
May 27, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
f1eb5c46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
pyMonit/api-service-log/apiServiceLog.go
pyMonit/main.go
pyMonit/api-service-log/apiServiceLog.go
View file @
f14d7d8f
...
...
@@ -8,6 +8,7 @@ import (
)
type
DataParams
struct
{
InterfaceType
string
`json:"interface_type"`
AccessUrl
string
`json:"access_url"`
...
...
@@ -30,7 +31,7 @@ func AddMsgtoRbmq(msg string){
"ichunt_monitor_user_behavior"
,
"ichunt_monitor_behavior"
,
"direct"
,
"amqp://
guest:guest@192.168.2.232
:5672/"
,
"amqp://
huntmouser:jy2y2900@172.18.137.23
:5672/"
,
}
rbmqMsg
:=
&
DataParams
{
...
...
pyMonit/main.go
View file @
f14d7d8f
...
...
@@ -74,10 +74,10 @@ func main() {
t
:=
&
RecvPro
{}
rabbitmq
.
Recv
(
rabbitmq
.
QueueExchange
{
"api_service_log"
,
"api_service_log"
,
"
sz_
api_service_log"
,
"
sz_
api_service_log"
,
""
,
""
,
"amqp://
guest:guest@192.168.2.232
:5672/"
,
"amqp://
WmsQue:EizM9I1TAxoO0tmzoOm@172.18.137.33
:5672/"
,
},
t
,
1
)
}
\ No newline at end of file
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