英文:
Managing sessions in Go
问题
有一些用于会话的Go库吗?
在使用Python/Django时没有任何问题。
我对Go还不熟悉,也没有找到相关的信息。所以,Go是否有通用的会话支持?是否有一些带有会话支持的框架?(貌似web.go没有会话支持,是吗?)
英文:
Are there some Go libraries for sessions?
Using Python/Django there wasn't any problem.
I am new to Go and I haven't found anything about it. So, are there general sessions support for Go? Are there some frameworks with sessions support? (It seems web.go has no sessions support, doesn't it?)
答案1
得分: 7
Gorilla的sessions包是我使用的,我认为对大多数项目来说是最好的选择。Gorilla还提供了一个更低级别的包,securecookie。
其他选项包括seshcookie和authcookie。
英文:
Gorilla's sessions package is the one I use and I guess the best choice for most projects. Gorilla also offers a lower-level package, securecookie.
Other options include seshcookie and authcookie.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论