MCPcopy Create free account
hub / github.com/cloudwan/gohan / Run

Method Run

job/queue.go:30–33  ·  view source on GitHub ↗

Run executes one Job

()

Source from the content-addressed store, hash-verified

28
29//Run executes one Job
30func (job *Job) Run() {
31 defer l.Panic(log)
32 job.task()
33}
34
35//NewJob creates new Job
36func NewJob(task func()) Job {

Callers 9

mainFunction · 0.45
actionMigrateFunction · 0.45
RunFunction · 0.45
getConverterCommandFunction · 0.45
getGraceServerCommandFunction · 0.45
StartMethod · 0.45
CompressObjectsMethod · 0.45
RunFunction · 0.45

Calls 1

PanicMethod · 0.80

Tested by

no test coverage detected