Documentation
¶
Index ¶
- Variables
- func IndexMappingHash() (string, error)
- func NewDesktopServer(ctx context.Context) (*http.Server, error)
- func NewHTTPServerFromConfig(ctx context.Context, conf *config.Config) (*http.Server, error)
- func NewSQLiteVecIndexFromConfig(ctx context.Context, conf *config.Config) (port.Index, error)
- type Factory
- type Registry
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotRegistered = errors.New("not registered")
View Source
var FileConverter = NewRegistry[port.FileConverter]()
View Source
var TaskRunner = NewRegistry[port.TaskRunner]()
Functions ¶
func IndexMappingHash ¶
IndexMappingHash returns the hash of the current index mapping. This can be used to verify the mapping version.
func NewHTTPServerFromConfig ¶
Types ¶
type Registry ¶
type Registry[T any] struct { // contains filtered or unexported fields }
func NewRegistry ¶
Source Files
¶
- api_handler.go
- authn_oidc_handler.go
- authn_token_handler.go
- backup_manager.go
- bleve_index.go
- bridge_middleware.go
- cleanup_task_handler.go
- desktop_server.go
- document_manager.go
- document_store.go
- file_converter.go
- gorm_database.go
- gorm_store.go
- helper.go
- http_server.go
- index.go
- index_file_task_handler.go
- llm_client.go
- public_share_store.go
- registry.go
- reindex_bleve_task_handler.go
- reindex_collection_task_handler.go
- restore_backup_task_handler.go
- session_store.go
- sqlitevec_index.go
- task_runner.go
- user_store.go
Click to show internal directories.
Click to hide internal directories.