package
1.0.3
Repository: https://github.com/lukewhrit/spacebin.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
HandleBody figures out whether a incoming request is in JSON or multipart/form-data and decodes it appropriately.
Highlight uses Chroma to highlight code in documents.
Logger uses zerolog to log information about each request (log level = INFO).
No description provided by the author
RenderError renders errors to the client using an HTML template.
No description provided by the author
WriteError writes an Error object (e) to an HTTP response writer (w).
WriteJSON writes a Request payload (p) to an HTTP response writer (w).

# Variables

No description provided by the author

# Structs

No description provided by the author
DocumentResponse is a document object.