Documentation
¶
Overview ¶
Package server wires shim's HTTP routes and owns the per-request translation flow.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server bundles the HTTP server with its dependencies. Construct via New; run via Start; tear down via Shutdown.
func New ¶
New constructs a Server bound to the given adapter (cmd/shim/main.go builds it via buildAdapter). Adapter.Validate() runs once here — the single config gate; misconfiguration fails startup loudly rather than the first request.
Click to show internal directories.
Click to hide internal directories.