Skip to main content

Module server

Module server 

Source
Expand description

HTTP server support (standalone + embeddable).

This module mirrors the pattern used by other Cedros services:

  • Standalone: claw-spawn-server binary calls run()
  • Embedded: host Axum app calls router(state) (and may nest it)

Structs§

AppState

Functions§

build_state_from_env
Build state for the standalone server.
build_state_with_pool
Build full state from config + an existing pool.
router
run
Standalone entrypoint for the claw-spawn-server binary.