【文件属性】:
文件名称:gorilla-sessions-arangodb:这是 ArangoDB 数据库的 gorilla Store 实现
文件大小:14KB
文件格式:ZIP
更新时间:2021-06-12 01:25:03
Go
大猩猩会议 Arangodb
这个小型库将允许您使用 arango db 将用户会话存储在文档集合中。
首先创建要在其中存储会话的集合。您可以使用 arangosh 来执行此操作:
db._create( 'sessions', {
//You don't need this. Actually, make this false if you want sessions to persist across database restarts
"isVolatile": true,
//AllowUserKeys can be false too. This library lets arangodb to decide session keys right now by using the autogenerated _key
//attr
【文件预览】:
gorilla-sessions-arangodb-master
----.gitignore(272B)
----LICENSE(26KB)
----README.md(2KB)
----gsarangodb_test.go(2KB)
----gsarangodb.go(4KB)