Documentation
¶
Overview ¶
Package server serves the 2dph brain over HTTP.
Async by design: every request runs on its own goroutine, and CPU-heavy searches are serialized through a bounded worker pool (a counting semaphore) so N requests can't spawn N search processes at once.
Used by bin/brain/serve.go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.