|
@@ -12,7 +12,7 @@ Put("sso", "1903540616", "oJULtwzXo6EFV1Ah-XeyRBimXGM8", 180)
|
|
log.Println(Get("1903540616", "A"))
|
|
log.Println(Get("1903540616", "A"))
|
|
```
|
|
```
|
|
### 函数声明
|
|
### 函数声明
|
|
-- PutKV
|
|
|
|
|
|
+1. PutKV <br/>
|
|
```Go
|
|
```Go
|
|
func PutKV(key string, obj interface{}) bool
|
|
func PutKV(key string, obj interface{}) bool
|
|
PutKV 分流redis ,并存入字符串缓存 Output: bool 是否存储成功
|
|
PutKV 分流redis ,并存入字符串缓存 Output: bool 是否存储成功
|