douxiong0668 2014-05-16 02:26 采纳率: 100%
浏览 45
已采纳

Gorilla Web Toolkit会话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条回答 默认 最新

  • dscss8996 2014-05-16 05:12
    关注

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

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 Labview机器人问题
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64
  • ¥15 iOS 自定义输入法-第三方输入法
  • ¥15 很想要一个很好的答案或提示
  • ¥15 扫描项目中发现AndroidOS.Agent、Android/SmsThief.LI!tr