etcdstore:使用etcd进行大猩猩会话的会话存储后端

时间:2021-04-02 20:11:01
【文件属性】:
文件名称:etcdstore:使用etcd进行大猩猩会话的会话存储后端
文件大小:18KB
文件格式:ZIP
更新时间:2021-04-02 20:11:01
Go etcdstore 一个会话存储后端的- 。 安装 go get github.com/ryicoh/etcdstore 文献资料 有关基础接口的完整文档,请参见 。 例子 package main import ( "github.com/ryicoh/etcdstore" clientv3 "go.etcd.io/etcd/client/v3" ) func main () { client , err := clientv3 . New (clientv3. Config { Endpoint : [] string { "http://localhost:2379" }}) if err != nil { panic ( err ) } defer client . Close () // Fetch new store. store , err := et
【文件预览】:
etcdstore-main
----docs.go(90B)
----.github()
--------workflows()
----LICENSE(1KB)
----etcdstore_test.go(10KB)
----go.sum(23KB)
----etcdstore.go(9KB)
----README.md(1KB)
----go.mod(263B)

网友评论