
memcache
懒人程序猿
这个作者很懒,什么都没留下…
展开
-
linux使用docker安装memcache
拉取memcache镜像,(memcache:latest)指最新版本,也可指定版本号拉取(memcache:1.4) docker pull memcache:latest 添加容器并运行memcache docker 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 · 1070 阅读 · 0 评论 -
Golang使用memcache
go使用memcache 使用文档:https://godoc.org/github.com/bradfitz/gomemcache/memcache#Client import ( "fmt" "github.com/bradfitz/gomemcache/memcache" ) var Client *memcache.Client const ( MEMCACHE_HOST = "...原创 2020-04-12 14:12:34 · 1019 阅读 · 0 评论