Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChromedpGenerator ¶
type ChromedpGenerator struct {
// contains filtered or unexported fields
}
ChromedpGenerator uses Chromedp and chromium to generate PDFs
func NewChromedpGenerator ¶
func NewChromedpGenerator(timeout int, tempDir string) *ChromedpGenerator
func (ChromedpGenerator) RenderHTMLFile ¶
func (s ChromedpGenerator) RenderHTMLFile(htmlFile string, waitFor string) (string, error)
RenderHTMLFile render PDF from html file
Click to show internal directories.
Click to hide internal directories.