Documentation ¶ Overview ¶ Package server runs the model-runner HTTP daemon. Index ¶ func Run(ctx context.Context, cfg Config) error type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(ctx context.Context, cfg Config) error Run starts the HTTP server and blocks until ctx is cancelled. Types ¶ type Config ¶ type Config struct { Version string // ExitFunc is called on fatal errors that cannot be propagated via the // callback signature (e.g. OnBackendError). Defaults to os.Exit. ExitFunc func(int) } Config holds server startup options. Source Files ¶ View all Source files server.govllm_backend.go Click to show internal directories. Click to hide internal directories.