Versions in this module Expand all Collapse all v0 v0.2.0 Aug 22, 2026 Changes in this version + type JobRPCResponse struct + Attachments []OutputFileType + JobID string + OutputFile OutputFileType + type OutputFileType struct + Data []byte + MimeType string + Name string + Size int64 + URL string v0.1.0 Aug 5, 2026 Changes in this version + const BaseEngine + const BaseKind + const BaseProvider + const ContainerProvider + const DirectoryMask + const FileMask + const NativeProvider + const PdfEngine + const PdfExecutable + const PdfKind + const PollIntervall + const WSProvider + const ZugferdEngine + const ZugferdExecutable + const ZugferdKind + func CheckHeartbeat(heartbeatFile string, timeout time.Duration) (bool, error) + func CopyFile(src, dst string) error + func Register(kind WriterKind, factory FactoryFunc) + type AbstractWriter struct + Engine string + Executable string + Heartbeat time.Duration + JobArtefactsPath string + JobJsonFile string + JobResultFile string + JobTmpFile string + Provider string + TimeOut time.Duration + func (a *AbstractWriter) Finalize(rJob *job.RenderJob, rInput *RenderInput, sourcePath string, lastStep bool) (*RenderOutput, error) + func (a *AbstractWriter) Prepare(rJob *job.RenderJob, rInput *RenderInput) error + func (a *AbstractWriter) WriteJob(rJob *job.RenderJob) error + type FactoryFunc func(provider string, engine string, timeout time.Duration, heartbeat time.Duration) (Writer, error) + type RenderInput struct + ArtefactsPath string + Attachments []string + BytesToRender []byte + OttPath string + OutputPath string + ParPath string + PdfPath string + Provider string + RootPath string + XMLPath string + type RenderOutput struct + FXPath string + JobID string + ODTPath string + OutputPath string + PDFPath string + ParPath string + StatusPath string + type Writer interface + Finalize func(rJob *job.RenderJob, rInput *RenderInput, sourcePath string, lastStep bool) (*RenderOutput, error) + Prepare func(job *job.RenderJob, input *RenderInput) error + Render func(ctx context.Context, rJob *job.RenderJob, rInput *RenderInput, finalize bool) (*RenderOutput, error) + func CreateWriter(kind WriterKind, provider string, engine string, timeout time.Duration, ...) (Writer, error) + type WriterKind string