Documentation ¶
Overview ¶
Package qpdf provides a module which abstracts the CLI tool QPDF and implements the gotenberg.PDFEngine interface.
Index ¶
- type QPDF
- func (engine QPDF) Convert(_ context.Context, _ *zap.Logger, format, _, _ string) error
- func (QPDF) Descriptor() gotenberg.ModuleDescriptor
- func (engine QPDF) Merge(ctx context.Context, logger *zap.Logger, inputPaths []string, ...) error
- func (engine QPDF) Metrics() ([]gotenberg.Metric, error)
- func (engine *QPDF) Provision(_ *gotenberg.Context) error
- func (engine QPDF) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QPDF ¶
type QPDF struct {
// contains filtered or unexported fields
}
QPDF abstracts the CLI tool QPDF and implements the gotenberg.PDFEngine interface.
func (QPDF) Descriptor ¶
func (QPDF) Descriptor() gotenberg.ModuleDescriptor
Descriptor returns a QPDF's module descriptor.
func (QPDF) Merge ¶
func (engine QPDF) Merge(ctx context.Context, logger *zap.Logger, inputPaths []string, outputPath string) error
Merge merges the given PDFs into a unique PDF.
Click to show internal directories.
Click to hide internal directories.