-
-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
huangdong.106
committed
Dec 3, 2024
1 parent
7986156
commit 6dad2eb
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
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 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters