Documentation
¶
Overview ¶
Package proxy implements the HTTP-terminated, non-translating A2A Path A pipe. It governs HTTP headers and validates framing while preserving accepted JSON-RPC bodies and SSE records byte-for-byte.
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func CopyHeaders ¶
CopyHeaders replaces dst with the governed upstream response headers.
func CopyStream ¶
CopyStream forwards validated SSE records and flushes after each record when dst implements http.Flusher.
func IsInvalidResponse ¶
Types ¶
type InvalidResponseError ¶
type InvalidResponseError struct{ Err error }
func (*InvalidResponseError) Error ¶
func (e *InvalidResponseError) Error() string
func (*InvalidResponseError) Unwrap ¶
func (e *InvalidResponseError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.