A lot more to go, but this is the core. Need to think about how to test the queue handlers.
10 lines
152 B
Go
10 lines
152 B
Go
package types
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.jadud.com/jadudm/grosbeak/internal/liteq"
|
|
)
|
|
|
|
type QueueWorker func(ctx context.Context, job *liteq.Job) error
|