http-server

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Example http-server wraps Opaque in a lightweight HTTP API, demonstrating a realistic self-hosted deployment pattern.

POST /vectors       — add vectors (with optional metadata)
POST /search        — search with optional metadata filter
POST /admin/build   — trigger index build
POST /admin/save    — persist database to disk

Run: go run ./examples/http-server/

Jump to

Keyboard shortcuts

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