英文:
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:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论