Documentation ¶
Index ¶
- type MemoryClient
- func (m *MemoryClient) CreateDocument(ctx context.Context, doc *doc.Document) error
- func (m *MemoryClient) DeleteDocument(ctx context.Context, docId int64) error
- func (m *MemoryClient) FilterDocuments(ctx context.Context, filter *doc.DocumentFilter) ([]*doc.Document, error)
- func (m *MemoryClient) GetDocument(ctx context.Context, entryId int64) (*doc.Document, error)
- func (m *MemoryClient) UpdateDocument(ctx context.Context, doc *doc.Document) error
- func (m *MemoryClient) UpdateTokens(ctx context.Context, doc *doc.Document) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryClient ¶
type MemoryClient struct {
// contains filtered or unexported fields
}
func NewMemoryMetaStore ¶
func NewMemoryMetaStore() (*MemoryClient, error)
func (*MemoryClient) CreateDocument ¶
func (*MemoryClient) DeleteDocument ¶
func (m *MemoryClient) DeleteDocument(ctx context.Context, docId int64) error
func (*MemoryClient) FilterDocuments ¶
func (m *MemoryClient) FilterDocuments(ctx context.Context, filter *doc.DocumentFilter) ([]*doc.Document, error)
func (*MemoryClient) GetDocument ¶
func (*MemoryClient) UpdateDocument ¶
func (*MemoryClient) UpdateTokens ¶
Click to show internal directories.
Click to hide internal directories.