Documentation ¶
Index ¶
- type MemoryStore
- func (m *MemoryStore) AddPrefix(prefix string) *MemoryStore
- func (m *MemoryStore) Apply(key string, value []byte) error
- func (m *MemoryStore) Delete(key string) error
- func (m MemoryStore) Get(key string) ([]byte, error)
- func (m MemoryStore) IsExisting(key string) bool
- func (m MemoryStore) List() ([][]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStore ¶
type MemoryStore struct {
// contains filtered or unexported fields
}
func NewMemoryStore ¶
func NewMemoryStore() *MemoryStore
func (*MemoryStore) AddPrefix ¶
func (m *MemoryStore) AddPrefix(prefix string) *MemoryStore
func (*MemoryStore) Delete ¶
func (m *MemoryStore) Delete(key string) error
func (MemoryStore) IsExisting ¶
func (m MemoryStore) IsExisting(key string) bool
func (MemoryStore) List ¶
func (m MemoryStore) List() ([][]byte, error)
Click to show internal directories.
Click to hide internal directories.