# Functions
Cors is a utility function to set the CORS headers on a pre-flight request.
Empty is a utility function to serve an empty response.
Error is a utility function to serve a JSON error notice.
ErrorWith is a utility function to serve a JSON error notice with additional details.
JSON is a utility function to serve an arbitary object as JSON.
Create a new text stream with mimetype text/event-stream Additional header tuples can be provided as a series of key-value pairs.
Text is a utility function to serve plaintext.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ErrorResponse is a generic error response which is served as JSON using the ServeError method.
TextStream implements a stream of text events.