harbor/job/scheduler.go

8 lines
107 B
Go

package job
var JobQueue chan int64 = make(chan int64)
func Schedule(jobID int64) {
JobQueue <- jobID
}