mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 13:21:58 +08:00
Rename to RedisConfig
This commit is contained in:
@@ -12,8 +12,8 @@ type Client struct {
|
||||
}
|
||||
|
||||
// NewClient creates and returns a new client.
|
||||
func NewClient(opt *RedisOpt) *Client {
|
||||
return &Client{rdb: newRDB(opt)}
|
||||
func NewClient(config *RedisConfig) *Client {
|
||||
return &Client{rdb: newRDB(config)}
|
||||
}
|
||||
|
||||
// Process enqueues the task to be performed at a given time.
|
||||
|
Reference in New Issue
Block a user