Documentation
¶
Overview ¶
Package server wires the HTTP routes for shim's three Stage 0 endpoints 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. The adapter must already be registered (cmd/shim/main.go constructs the adapter via its New and calls adapter.Register). Adapter.Validate() runs once here; misconfiguration fails startup loudly rather than the first request.
Click to show internal directories.
Click to hide internal directories.