Structs§
- Random
Query - Server
- Server
Config - Server
State - Startup
Config - Configuration for server startup
Functions§
- get_
ascii_ art_ banner - Returns the ASCII art banner as a string
- handle_
bundle - handle_
bundle_ data - handle_
bundle_ jsonl - handle_
debug_ didindex - handle_
debug_ memory - handle_
debug_ resolver - handle_
did_ routing_ guard - handle_
index_ json - handle_
mempool - handle_
operation - handle_
random_ dids - handle_
root - handle_
status - parse_
duration - Parse duration string (e.g., “60s”, “5m”, “1h”) into Duration
- start_
server - Main server startup function that orchestrates all initialization
Type Aliases§
- Progress
Callback - Progress callback for DID index building Arguments: (current_bundle, total_bundles, bytes_processed, total_bytes)
- Progress
Callback Factory - Progress callback factory type Takes (last_bundle, total_bytes) and returns (progress_callback, finish_function)
- Progress
Finish - Finish function for progress tracking (e.g., to finish a progress bar)