Documentation ¶
Index ¶
- type FilterIndex
- func (index *FilterIndex) Delete(event *entity.Event) error
- func (index *FilterIndex) FindAllByFields(fields types.Hash) (result []*entity.Event, err error)
- func (index *FilterIndex) Insert(event *entity.Event) error
- func (index *FilterIndex) Refresh(events []*entity.Event)
- func (index *FilterIndex) Update(eventFrom, eventTo *entity.Event) error
- type ListIndex
- type MapIndex
- func (index *MapIndex) Delete(event *entity.Event) error
- func (index *MapIndex) FindAll() (result []*entity.Event)
- func (index *MapIndex) FindByID(uuid [16]byte) (result *entity.Event, err error)
- func (index *MapIndex) Insert(event *entity.Event) error
- func (index *MapIndex) Refresh(events []*entity.Event)
- func (index *MapIndex) Update(eventFrom, eventTo *entity.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterIndex ¶
func NewFilterIndex ¶
func NewFilterIndex() *FilterIndex
func (*FilterIndex) FindAllByFields ¶
func (*FilterIndex) Refresh ¶
func (index *FilterIndex) Refresh(events []*entity.Event)
type ListIndex ¶
func NewListIndex ¶
func NewListIndex() *ListIndex
Click to show internal directories.
Click to hide internal directories.