package
5.13.0+incompatible
Repository: https://github.com/documize/community.git
Documentation: pkg.go.dev
# Functions
SetJSONResponse sets the response type to "application/json" in the HTTP header.
WriteError to the http.ResponseWriter, taking care to provide the correct response error code within the JSON response.
WriteErrorBadRequest provides feedback to a Documize client on an error, where that error is described in a string.
# Structs
ConversionJobRequest is the information used to set-up a conversion job.
DocumentConversionRequest is what is passed to a Convert plugin.
DocumentConversionResponse is the response from a Convert plugin.
DocumentExport is the type used by a document export plugin.
EmbeddedFile holds the contents of an embedded file.
Page holds the contents of a Documize page, which is a Body of html with a Title and a Level,.