go get -u github.com/gojuukaze/YTask/drives/redis/v3
package main
import (
"github.com/gojuukaze/YTask/drives/redis/v3"
)
func main() {
broker := redis.NewRedisBroker("127.0.0.1", "6379", "", 0, 3)
// ...
}
package main
import (
"github.com/gojuukaze/YTask/drives/redis/v3"
)
func main() {
backend := redis.NewRedisBackend("127.0.0.1", "6379", "", 0, 10)
// ...
}