harbor/jobservice/router.go
2016-05-16 19:34:24 +08:00

12 lines
181 B
Go

package main
import (
api "github.com/vmware/harbor/api/jobs"
"github.com/astaxie/beego"
)
func initRouters() {
beego.Router("/api/jobs/replication", &api.ReplicationJob{})
}