package global

import (
	"mtp20_assisted/config"

	"github.com/spf13/viper"
	"go.uber.org/zap"
	"xorm.io/xorm"
)

var (
	M2A_CONFIG   config.Server
	M2A_VP       *viper.Viper
	M2A_LOG      *zap.Logger
	M2A_DB       *xorm.Engine
	M2A_RABBITMQ *RabbitMQ

	M2A_MSGPROCESSER map[string]MsgProcesser // 总线信息处理器，key - 主题

	M2A_DONE chan bool
)
