Documentation
¶
Overview ¶
subsystem-mount example — HIP-0106 Mount(app, deps) idiom.
One zip.App is composed from N subsystems via the Mount(...) contract. Each subsystem is a Go package that exposes:
func Mount(app *zip.App, deps Deps) error
matching the gin-side hanzoai/commerce/checkout.MountPublic pattern.
Each subsystem declares TYPED ops, which is what makes composition compose the whole surface: the assembled binary's OpenAPI document, MCP tool list and command line are the union of what its subsystems registered, with nothing written twice and no subsystem knowing the others exist. A subsystem that registered untyped routes would contribute traffic and nothing else.
Click to show internal directories.
Click to hide internal directories.