|
|
package main
|
|
|
|
|
|
import (
|
|
|
"time"
|
|
|
|
|
|
"github.com/beego/beego/v2/server/web"
|
|
|
serviceTask "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/application/node_task"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/log"
|
|
|
_ "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/port/beego"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/port/consumer"
|
|
|
"time"
|
|
|
)
|
|
|
|
|
|
func main() {
|
...
|
...
|
@@ -17,7 +17,7 @@ func main() { |
|
|
// for k, v := range methods {
|
|
|
// fmt.Printf("%s => %v \n", k, v)
|
|
|
// }
|
|
|
go consumer.Run()
|
|
|
// go consumer.Run()
|
|
|
web.Run()
|
|
|
}
|
|
|
|
...
|
...
|
|