Skip to main content

Module server

Module server 

Source
Expand description

Server configuration with builder pattern

This module provides a unified server configuration that combines:

  • Network settings (host, port)
  • Runtime settings (caching, preloading, logging, metrics)
  • CORS configuration
  • TLS settings
  • Process management (working directory, PID file)

Structsยง

CorsConfig
CORS configuration
NinepCanonicalReadConfig
Operator-selected canonical repository for the optional holder-scoped 9P read export. This names an existing Registry repository and worktree; it creates neither and grants no access by itself.
SamplingParamDefaults
Default sampling parameters for generation
ServerConfig
Unified server configuration combining network, runtime, and TLS settings
ServerConfigBuilder
Builder for ServerConfig with chainable methods