feat: [wip] - implement storage

This commit is contained in:
sujit
2024-10-17 10:03:07 +05:45
parent 53b68572dd
commit ea266be846
13 changed files with 730 additions and 482 deletions

View File

@@ -9,6 +9,6 @@ import (
)
func main() {
consumer1 := mq.NewConsumer("F", "queue1", tasks.Node6, mq.WithWorkerPool(100, 4, 50000))
consumer1 := mq.NewConsumer("F", "queue1", &tasks.Node6{}, mq.WithWorkerPool(100, 4, 50000))
consumer1.Consume(context.Background())
}