Documentation
¶
Overview ¶
Package serverboot is the shared bootstrap for the registry HTTP server. The podium-server binary and the `podium serve` subcommand both call Run, so a single deployment ships only the `podium` binary and still has the standalone server available in-process.
Configuration comes from PODIUM_* environment variables (§13.12) with `~/.podium/registry.yaml` filling in any unset values. Default behavior matches §13.10's zero-flag standalone deployment: SQLite metadata, filesystem object store, no auth, bound on 127.0.0.1:8080.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run() error
Run loads configuration, opens the configured backends, mounts every endpoint, and serves until a SIGINT or SIGTERM triggers a graceful shutdown. It installs the signal handler, then delegates to run with the resulting lifecycle context. It returns nil after a clean drain, or the underlying error if the listener never binds or the drain times out.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func LoadConfig ¶
func LoadConfig() *Config