memory

package
v0.0.0-...-e686d8b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 (m *MemoryClient) CreateDocument(ctx context.Context, doc *doc.Document) error

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 (m *MemoryClient) GetDocument(ctx context.Context, entryId int64) (*doc.Document, error)

func (*MemoryClient) UpdateDocument

func (m *MemoryClient) UpdateDocument(ctx context.Context, doc *doc.Document) error

func (*MemoryClient) UpdateTokens

func (m *MemoryClient) UpdateTokens(ctx context.Context, doc *doc.Document) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL