redis rpc服务, 提供redis操作方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

22 lines
255 B

package redisrpc
import (
"testing"
// "time"
)
func Test_Get(t *testing.T) {
reply, err := Get("siteListCache")
t.Log(reply)
t.Log(err)
}
// func Test_Set(t *testing.T) {
// c, err := Set("test", 1111, 7200)
// t.Log(c)
// t.Log(err)
// }