Documentation ¶
Overview ¶
Package index is grouped around the Index component, representing an index which stores and retrieves document properties.
Index ¶
- type Index
- type Mock
- func (m *Mock) Delete(ctx context.Context, id string) error
- func (m *Mock) Get(ctx context.Context, id string, dst interface{}, fields ...string) (bool, error)
- func (m *Mock) Index(ctx context.Context, id string, properties interface{}) error
- func (m *Mock) Update(ctx context.Context, id string, properties interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index interface { Index(ctx context.Context, id string, properties interface{}) error Update(ctx context.Context, id string, properties interface{}) error Get(ctx context.Context, id string, dst interface{}, fields ...string) (bool, error) Delete(ctx context.Context, id string) error }
Index represents an index which stores and retrieves document properties.
Click to show internal directories.
Click to hide internal directories.