mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-18 13:12:17 +01:00
process load balancing: broken but in progress
This commit is contained in:
13
internal/pkg/print/print.go
Normal file
13
internal/pkg/print/print.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user