Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalApplicationAdapter ¶
type InternalApplicationAdapter struct {
// contains filtered or unexported fields
}
InternalApplicationAdapter bridges the API layer with the internal application layer This adapter follows the Adapter pattern from GoF and maintains separation of concerns
func NewInternalApplicationAdapter ¶
func NewInternalApplicationAdapter(cfg *config.Config) *InternalApplicationAdapter
NewInternalApplicationAdapter creates a new adapter
func (*InternalApplicationAdapter) GeneratePDF ¶
func (iaa *InternalApplicationAdapter) GeneratePDF(cfg *config.Config, template config.Template) ([]byte, map[string]string, error)
GeneratePDF generates a PDF using the internal application layer This method maintains the same signature as the original GeneratePDF function