leveldb2: support subscribing from peers
This commit is contained in:
@@ -29,6 +29,11 @@ type FilerStore interface {
|
||||
Shutdown()
|
||||
}
|
||||
|
||||
type FilerLocalStore interface {
|
||||
UpdateOffset(filer string, lastTsNs int64) error
|
||||
ReadOffset(filer string) (lastTsNs int64, err error)
|
||||
}
|
||||
|
||||
type FilerStoreWrapper struct {
|
||||
actualStore FilerStore
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user