harbor/jobservice/main.go

16 lines
217 B
Go
Raw Normal View History

2016-04-20 08:24:17 +02:00
package main
import (
"github.com/astaxie/beego"
"github.com/vmware/harbor/dao"
2016-05-12 10:11:28 +02:00
"github.com/vmware/harbor/job"
2016-04-20 08:24:17 +02:00
)
func main() {
dao.InitDB()
initRouters()
job.InitWorkerPool()
go job.Dispatch()
2016-04-20 08:24:17 +02:00
beego.Run()
}