package main

import (
	log "github.com/donnie4w/go-logger/logger"
	mu "mfw/util"
)

func init() {
	initVarData() //初始化属性
	updport := sysconfig["udpport"].(string)
	udpclient = mu.UdpClient{Local: updport, BufSize: 1024}
	udpclient.Listen(processUdpMsg)
	log.Debug("Udp服务监听", updport)
}

func main() {
	//各种监控等
	go extractRunningMonitoring()
	go lastUdpMonitoring()
	go nextUdpMonitoring()
	go getRepeatTask()

	lock := make(chan bool)
	<-lock
}
