Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildServer ¶ added in v0.9.0
BuildServer constructs the router/handler chain from the command flags and config file. It does NOT start a listener — callers (RunServer, the desktop entry point) are responsible for serving HTTP and for invoking r.StartBackgroundTasks() / r.Shutdown().
func BuildServerForDesktop ¶ added in v0.9.0
BuildServerForDesktop is like BuildServer but applies safe desktop defaults when no config file is loaded: host → 127.0.0.1 (localhost only, no network exposure), storage → ~/.llmrouter/data (persistent across restarts). When a config file IS present, its values take precedence (no overrides).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.