Update Readme with Zookeeper (#90)
This commit is contained in:
parent
342e0d6223
commit
75b1fc29b4
|
|
@ -10,15 +10,16 @@ Currently supported state stores are:
|
|||
* Cassandra
|
||||
* Azure CosmosDB
|
||||
* Memcached
|
||||
* Zookeeper
|
||||
|
||||
## Implementing a new State Store
|
||||
|
||||
A compliant state store needs to implement one or more interfaces: `StateStore` and `TransactionalStateStore`.
|
||||
A compliant state store needs to implement one or more interfaces: `Store` and `TransactionalStateStore`.
|
||||
|
||||
The interface for StateStore:
|
||||
The interface for Store:
|
||||
|
||||
```
|
||||
type StateStore interface {
|
||||
type Store interface {
|
||||
Init(metadata Metadata) error
|
||||
Delete(req *DeleteRequest) error
|
||||
BulkDelete(req []DeleteRequest) error
|
||||
|
|
|
|||
Loading…
Reference in New Issue