![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
memcache
懒人程序猿
这个作者很懒,什么都没留下…
展开
-
linux使用docker安装memcache
拉取memcache镜像,(memcache:latest)指最新版本,也可指定版本号拉取(memcache:1.4)docker pull memcache:latest添加容器并运行memcachedocker run --name memcache -itd -p 11211:11211 memcache:latest新增容器但不运行docker create --name memcache -itd -p 11211:11211 memcache:latest查看运行中的容器do原创 2020-05-17 15:32:35 · 1037 阅读 · 0 评论 -
Golang使用memcache
go使用memcache使用文档:https://godoc.org/github.com/bradfitz/gomemcache/memcache#Clientimport ( "fmt" "github.com/bradfitz/gomemcache/memcache")var Client *memcache.Clientconst ( MEMCACHE_HOST = "...原创 2020-04-12 14:12:34 · 937 阅读 · 0 评论