Documentation ¶
Index ¶
- Variables
- type Option
- type Options
- type Store
- func (s *Store) Close() error
- func (s *Store) Get(ctx context.Context, id uuid.UUID) (*types.Index, error)
- func (s *Store) Insert(ctx context.Context, index *types.Index) error
- func (s *Store) List(ctx context.Context, opts ...listoption.ListOption) ([]*types.Index, error)
- func (s *Store) Remove(ctx context.Context, id uuid.UUID) error
- func (s *Store) RemoveByReference(ctx context.Context, path string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("index not found")
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func WithDispatcher ¶
func WithDispatcher(dispatcher types.Dispatcher) Option
func WithLogger ¶
Click to show internal directories.
Click to hide internal directories.