15 lines
282 B
Go
15 lines
282 B
Go
package bgjob
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type EnqueueRequest struct {
|
|
Id string //optional
|
|
Queue string //required
|
|
Type string //required
|
|
Arg []byte //optional
|
|
Delay time.Duration //optional
|
|
RequestId string //optional
|
|
}
|