Documentation
¶
Overview ¶
Package gatewayfrontend serves the standalone voice test host.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(log *slog.Logger, addr net.Addr, externalURL string, bridge voicegateway.MediaBridge, text voicegateway.TextSessionServer) (http.Handler, error)
NewHandler returns the frontend's discovery, MCP, voice and asset routes.
Loopback listeners require local peers and authorities; other listeners allow remote access. The address includes the actual port assigned by the listener. An explicit externalURL permits proxy access to a loopback listener; the caller must enforce that expected origin. These routes have no host authentication; anyone who can reach the listener can use the configured voice backends. log receives MCP and voice request failures.
Types ¶
This section is empty.