Files
gotenberg/internal/pkg/print/print.go
2019-09-19 17:28:29 +02:00

14 lines
315 B
Go

package print
import (
"context"
"github.com/thecodingmachine/gotenberg/internal/pkg/process"
)
// Print is a type that can create a PDF file from a source.
// The source is defined in the underlying implementation.
type Print interface {
Print(ctx context.Context, dest string, proc process.Process) error
}