forked from devfeel/dotweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 完善redisutil,增加对hset、set的操作支持 * 感谢 @chacha923 的pr * 2017-11-23 00:00
- Loading branch information
Showing
4 changed files
with
76 additions
and
61 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,6 @@ func NewRuntimeCache() Cache { | |
|
||
//new redis cache | ||
//must set serverIp like "redis://:[email protected]:6379/0" | ||
func NewRedisCache(serverIp string) Cache { | ||
return redis.NewRedisCache(serverIp) | ||
func NewRedisCache(serverUrl string) Cache { | ||
return redis.NewRedisCache(serverUrl) | ||
} |
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