Skip to main content

Module server

Module server 

Source
Expand description

HTTP surface: the git smart-HTTP endpoints plus health/metrics.

Routing is method + path suffix based (git paths have arbitrary depth), so the git handler is registered as the router fallback and dispatches: GET /info/refs?service=git-upload-pack -> ref advertisement POST /git-upload-pack -> packfile (streamed) anything git-receive-pack -> 403 (read-only)

Structs§

AppState

Functions§

router