Rename to RedisConfig

This commit is contained in:
Ken Hibino
2019-12-03 19:43:01 -08:00
parent 4afb3a2401
commit 57838600ef
6 changed files with 13 additions and 13 deletions

View File

@@ -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.