Documentation ¶
Index ¶
- type DocStore
- type MemoryDocStore
- func (m *MemoryDocStore) Insert(ctx context.Context, d gollum.Document) error
- func (m *MemoryDocStore) Load(ctx context.Context, bucket *blob.Bucket, path string) error
- func (m *MemoryDocStore) Persist(ctx context.Context, bucket *blob.Bucket, path string) error
- func (m *MemoryDocStore) Retrieve(ctx context.Context, id string) (gollum.Document, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryDocStore ¶
MemoryDocStore is a simple in-memory document store. It's functionally a hashmap / inverted-index.
func NewMemoryDocStore ¶
func NewMemoryDocStore() *MemoryDocStore
Click to show internal directories.
Click to hide internal directories.