mirror of
https://github.com/hibiken/asynq.git
synced 2025-04-19 23:30:20 +08:00
26 lines
490 B
Go
26 lines
490 B
Go
package broker
|
|
|
|
import (
|
|
"github.com/hibiken/asynq/internal/base"
|
|
"github.com/hibiken/asynq/internal/rdb"
|
|
)
|
|
|
|
// This package exports the same types as the internal package.
|
|
// This is a temporary solution until we can move the these types out of internal.
|
|
|
|
type (
|
|
TaskMessage = base.TaskMessage
|
|
WorkerInfo = base.WorkerInfo
|
|
ServerInfo = base.ServerInfo
|
|
|
|
Broker = base.Broker
|
|
|
|
CancellationSubscription = base.CancellationSubscription
|
|
|
|
RDB = rdb.RDB
|
|
)
|
|
|
|
var (
|
|
NewRDB = rdb.NewRDB
|
|
)
|