upgrade Redis client to v9

This commit is contained in:
Phước Trung
2023-05-04 11:17:09 +07:00
committed by Ken Hibino
parent 5c48e4e31d
commit e44ba437a4
6 changed files with 61 additions and 44 deletions

View File

@@ -6,13 +6,12 @@ import (
"net/http"
"strings"
"github.com/go-redis/redis/v8"
"github.com/gorilla/mux"
"github.com/hibiken/asynq"
"github.com/redis/go-redis/v9"
)
// Options is used to configure HTTPHandler.
// Options are used to configure HTTPHandler.
type Options struct {
// URL path the handler is responsible for.
// The path is used for the homepage of asynqmon, and every other page is rooted in this subtree.