Documentation ¶
Index ¶
- type MemStore
- func (m *MemStore) Add(op ...*v1.Operation) error
- func (m *MemStore) Delete(opID ...int64) ([]*v1.Operation, error)
- func (m *MemStore) Get(opID int64) (*v1.Operation, error)
- func (m *MemStore) Query(q oplog.Query, f func(*v1.Operation) error) error
- func (m *MemStore) SetVersion(version int64) error
- func (m *MemStore) Transform(q oplog.Query, f func(*v1.Operation) (*v1.Operation, error)) error
- func (m *MemStore) Update(op ...*v1.Operation) error
- func (m *MemStore) Version() (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemStore ¶
type MemStore struct {
// contains filtered or unexported fields
}
func NewMemStore ¶
func NewMemStore() *MemStore
func (*MemStore) SetVersion ¶
Click to show internal directories.
Click to hide internal directories.