Documentation
¶
Overview ¶
Package httpkit holds shared HTTP transport helpers for the API surfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteSSEHeaders ¶
func WriteSSEHeaders(w http.ResponseWriter)
WriteSSEHeaders sets the Server-Sent Events headers shared by every streaming endpoint. Callers still own WriteHeader and Flush.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.