package
1.1.0
Repository: https://github.com/opsway/documents.git
Documentation: pkg.go.dev

# Functions

HTMLToPDFGet renders pdf from html.
Logger is HTTP middleware that logging,.
NewHandler generates HTTP handler to serve api.
NewRouter handles function of api.
RenderPdfWithPostTemplateData renders pdf with posted template & data.
RenderPdfWithPostTemplateOptions return options response.
RenderTemplate render pdf by template from request.
Server provides new api from config.

# Structs

Config is preference of api.
PrepareTemplateData refers request of rendering pdf.
RenderTemplateRequest refers request of rendering pdf.
Route is a structure of entry point.

# Type aliases

Routes is array of entrypoints this api.