Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Emit ¶
func Emit(parseReport Report)
Emit dispatches a diagnostics report to all registered listeners.
func WriteHTTPError ¶
func WriteHTTPError(parseW http.ResponseWriter, parseStatus int, parseReport Report)
WriteHTTPError writes the report as an HTTP error response with the given status code. Server-only (!js) so wasm builds never link net/http.
Types ¶
type Options ¶
type Options = internaldiagnostics.Options
Click to show internal directories.
Click to hide internal directories.