Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryKV ¶
type MemoryKV struct {
// contains filtered or unexported fields
}
func NewMemoryKV ¶
func NewMemoryKV() *MemoryKV
func (*MemoryKV) BeginTransaction ¶
func (m *MemoryKV) BeginTransaction() kv.Transaction
type MemoryTransaction ¶
type MemoryTransaction struct {
// contains filtered or unexported fields
}
func (*MemoryTransaction) Commit ¶
func (m *MemoryTransaction) Commit() error
func (*MemoryTransaction) Delete ¶
func (m *MemoryTransaction) Delete(key []byte) error
func (*MemoryTransaction) Discard ¶
func (m *MemoryTransaction) Discard()
Click to show internal directories.
Click to hide internal directories.