Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dxvgef committed Jun 9, 2021
1 parent 07be3c8 commit 85bb287
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Sessions
Go语言的Sessions库,已支持Redis存储器(go-redis/redis),也可以自行实现`Storage`接口来扩展存储器
Go语言的Sessions库。使用`Storage`接口来实现数据存储层的抽象化,可通过实现该接口来将数据存储到Memcached、Redis、LevelDB、RocksDB、MySQL等数据库。还支持值类型转换的链式方法,有助于减少代码量

## `Tsing`框架结合使用的示例
### 已内置的数据存储器:
- [ ] RocksDB
- [x] Redis(支持v6)
- [ ] Memcached
- [ ] Consul

### `Tsing`框架结合使用的示例

```Go
package main
Expand Down

0 comments on commit 85bb287

Please sign in to comment.