Documentation
¶
Overview ¶
Package requesthost threads the public-facing host of an inbound HTTP request from the transport layer into the service layer, mirroring the user_context package's pattern. Used by the MCP handler (a plain net/http handler, not grpc-gateway) so builtin tract tools can build absolute webhook_url values without the service layer depending on *http.Request.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext retrieves the public host stored by WithHost.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.