Documentation ¶
Index ¶
- type Item
- type Memstore
- func (ms *Memstore) Add(x Item)
- func (ms *Memstore) AddOrGet(x Item) Item
- func (ms *Memstore) ApplyData(x Item, index string, run func(Item) bool) (res Item)
- func (ms *Memstore) ApplyDataSubset(items []Item, index string, apply func(Item) bool) (res []Item)
- func (ms *Memstore) Delete(x Item, index string) Item
- func (ms *Memstore) Get(x Item, index string) (res Item)
- func (ms *Memstore) GetRange(from, to Item, index string, test func(Item) bool)
- func (ms *Memstore) Len() (res int)
- func (ms *Memstore) Max(index string) (res Item)
- func (ms *Memstore) Min(index string) (res Item)
- func (ms *Memstore) UpdateData(x Item, index string, modify func(Item) (Item, bool)) (res Item)
- func (ms *Memstore) UpdateWithIndexes(x Item, index string, modify func(Item) (Item, bool)) (res Item)
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
}
Memstore object Nothing is exported
func (*Memstore) ApplyDataSubset ¶
func (*Memstore) UpdateData ¶
Click to show internal directories.
Click to hide internal directories.