![](https://img-blog.csdnimg.cn/20190918140053667.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Redis
文章平均质量分 79
Redis
I like study.
热爱技术
展开
-
Go语言之redis
1.导入Redis包 在命令行输入 go get github.com/astaxie/goredis 2.测试实例 启动redis测试 package main import ( "fmt" "github.com/astaxie/goredis" ) func main(){ client:=goredis.Client{} client.Addr="127.0.0.1:6379"...原创 2019-04-27 18:47:40 · 150 阅读 · 0 评论 -
SpringBoot整合ehcache、redis
1.SpringBoot和ehcache pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://...原创 2019-07-19 09:56:27 · 320 阅读 · 0 评论 -
SpringData 整合Redis
1 创建项目,导入jar包 jar包 2 编写配置文件 redis.properties redis.pool.maxTotal=20 redis.pool.maxIdle=10 redis.pool.minIdle=5 redis.conn.hostName=127.0.0.1 redis.conn.port=6379 applicationContext.xml <?xml ver...原创 2019-07-17 17:19:56 · 440 阅读 · 0 评论