大猩猩网络工具包会话Memcache实现

huangapple go评论90阅读模式
英文:

Gorilla Web Toolkit Sessions Memcache Implementation

问题

我正在尝试使用Gorilla Web Toolkit与一个memcached集群进行会话管理。Gorilla官方网站列出了这个memcache支持库:https://github.com/hnakamur/gaesessions,但它需要使用"appengine"包。

有没有人知道是否有一个纯Go语言编写的简单的memcache会话存储后端,而不需要使用appengine包?

如果有的话,可以很容易地编写一个(使用像https://github.com/bradfitz/gomemcache这样的库来处理实际的memcache操作),但如果我在搜索中错过了某个已有的解决方案,就不想自己麻烦了。

英文:

Am trying to implement Gorilla Web Toolkit sessions against a memcached cluster. The Gorilla site lists this as the memcache support: https://github.com/hnakamur/gaesessions but it requires the "appengine" package.

Does anyone know of a simple memcache session storage backend in pure Go that doesn't require the appengine package?

Would be easy to write (using something like https://github.com/bradfitz/gomemcache to do the actual memcache work) but didn't want to bother if there's one out there that I somehow missed in my googling.

答案1

得分: 4

我找不到任何东西,所以我继续把这个放在一起:

https://github.com/bradleypeabody/gorilla-sessions-memcache

英文:

Couldn't find anything, so I went ahead and put this together:

https://github.com/bradleypeabody/gorilla-sessions-memcache

huangapple
  • 本文由 发表于 2014年5月16日 10:26:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/23691690.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定