adapters

package
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalPDFServiceAdapter

type ExternalPDFServiceAdapter struct {
	// contains filtered or unexported fields
}

TODO: This file needs to be updated after internal application layer restructuring ExternalPDFServiceAdapter implements domain.PDFGenerationService This adapter bridges the API layer with the internal application layer

func NewExternalPDFServiceAdapter

func NewExternalPDFServiceAdapter(cfg *config.Config, debugEnabled bool) *ExternalPDFServiceAdapter

NewExternalPDFServiceAdapter creates a new external PDF service adapter

func NewExternalPDFServiceAdapterWithLogger

func NewExternalPDFServiceAdapterWithLogger(cfg *config.Config, debugEnabled bool, logger autopdfports.Logger) *ExternalPDFServiceAdapter

NewExternalPDFServiceAdapterWithLogger creates a new external PDF service adapter with logger

func (*ExternalPDFServiceAdapter) Generate

Generate generates a PDF using the internal application layer

func (*ExternalPDFServiceAdapter) GenerateWithWorkingDir

GenerateWithWorkingDir generates a PDF using the internal application layer with custom working directory

func (*ExternalPDFServiceAdapter) GetSupportedEngines

func (epsa *ExternalPDFServiceAdapter) GetSupportedEngines() []string

GetSupportedEngines returns supported LaTeX engines

func (*ExternalPDFServiceAdapter) GetSupportedFormats

func (epsa *ExternalPDFServiceAdapter) GetSupportedFormats() []string

GetSupportedFormats returns supported output formats

func (*ExternalPDFServiceAdapter) ValidateRequest

ValidateRequest validates a PDF generation request

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL