-
-
Notifications
You must be signed in to change notification settings - Fork 829
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(storage): Redis configuration handling and initialization (#783
) - Update `go-redis` dependency from v9.5.1 to v9.5.3 - Modify `InitAppStatus` to pass individual Redis configuration parameters instead of the entire config object - Refactor `New` function in `redis.go` to accept individual parameters for Redis configuration - Remove `config` dependency from `redis.go` - Add new fields to `Storage` struct for Redis configuration parameters - Update `Init` method in `Storage` to use new Redis configuration fields - Refactor tests in `redis_test.go` to use new `New` function signature - Add assertions in `TestRedisEngine` to verify key reset and value retrieval Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Loading branch information
Showing
5 changed files
with
49 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters