[Cmii][ImageSync] - reformat agent-go - 2

This commit is contained in:
zeaslity
2024-03-29 15:37:06 +08:00
parent 77c689abd7
commit 1b88e5d871
6 changed files with 14 additions and 11 deletions

View File

@@ -5,8 +5,6 @@ import (
"wdd.io/agent-go/g"
)
var OctopusToServerQueue = &RabbitQueue{}
var P = g.G.P
type OctopusMsgHandler interface {

View File

@@ -9,8 +9,12 @@ import (
"wdd.io/agent-common/logger"
)
// BusinessRuntimeQueue octopus message from server
var BusinessRuntimeQueue = &RabbitQueue{}
// OctopusToServerQueue octopus message to server
var OctopusToServerQueue = &RabbitQueue{}
type RabbitMQ interface {
RabbitSendWriter
RabbitConnectCloser