Paul Pan
6956fe4ee1
pkg/pool: task is now available to return interface{} as result pkg/pool: use atomic instead of mutex service/runner: ContainerRun will return metrics
7 lines
78 B
Go
7 lines
78 B
Go
package pool
|
|
|
|
type Task struct {
|
|
id uint64
|
|
f func() (interface{}, error)
|
|
}
|