Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/gotenberg/gotenberg
/ functions
Functions
1,037 in github.com/gotenberg/gotenberg
⨍
Functions
1,037
◇
Types & classes
147
Method
PageCount
PageCount returns the number of pages in a PDF file using ExifTool.
pkg/modules/exiftool/exiftool.go:403
Method
PageCount
PageCount is not available in this implementation.
pkg/modules/pdftk/pdftk.go:251
Method
PageCount
PageCount is not available in this implementation.
pkg/modules/qpdf/qpdf.go:287
Method
PageCount
PageCount returns the number of pages in a PDF file using the first available engine that supports metadata reading.
pkg/modules/pdfengines/multi.go:229
Method
PageCount
PageCount is not available in this implementation.
pkg/modules/libreoffice/pdfengine/pdfengine.go:94
Method
Pdf
(ctx context.Context, logger *slog.Logger, url, outputPath string, options PdfOptions)
pkg/modules/chromium/mocks.go:16
Method
Pdf
Pdf converts a URL to PDF. nolint:dupl
pkg/modules/chromium/chromium.go:855
Method
Pdf
(ctx context.Context, logger *slog.Logger, inputPath, outputPath string, options Options)
pkg/modules/libreoffice/api/mocks.go:17
Method
PdfEngine
()
pkg/gotenberg/mocks.go:140
Method
Provision
(ctx *Context)
pkg/gotenberg/mocks.go:23
Method
Provision
Provision sets the engine properties.
pkg/modules/pdfcpu/pdfcpu.go:59
Method
Provision
Provision sets the module properties.
pkg/modules/prometheus/prometheus.go:63
Method
Provision
Provision sets the module properties.
pkg/modules/exiftool/exiftool.go:178
Method
Provision
Provision sets the module properties.
pkg/modules/pdftk/pdftk.go:45
Method
Provision
Provision sets the module properties.
pkg/modules/qpdf/qpdf.go:51
Method
Provision
Provision sets the module properties.
pkg/modules/api/api.go:230
Method
Provision
Provision gets either all [gotenberg.PdfEngine] modules or the modules selected by the user thanks to the "engines" flag.
pkg/modules/pdfengines/pdfengines.go:88
Method
Provision
Provision sets the module properties.
pkg/modules/chromium/chromium.go:485
Method
Provision
Provision sets the module properties.
pkg/modules/libreoffice/libreoffice.go:40
Method
Provision
Provision sets the module properties.
pkg/modules/libreoffice/api/api.go:347
Method
Provision
Provision sets the module properties.
pkg/modules/libreoffice/pdfengine/pdfengine.go:32
Method
Provision
Provision sets the module properties.
pkg/modules/webhook/webhook.go:72
Method
ReadBookmarks
(ctx context.Context, logger *slog.Logger, inputPath string)
pkg/gotenberg/mocks.go:95
Method
ReadBookmarks
ReadBookmarks reads the document outline (bookmarks) of a PDF file using pdfcpu.
pkg/modules/pdfcpu/pdfcpu.go:303
Method
ReadBookmarks
ReadBookmarks is not available in this implementation.
pkg/modules/exiftool/exiftool.go:470
Method
ReadBookmarks
ReadBookmarks is not available in this implementation.
pkg/modules/pdftk/pdftk.go:279
Method
ReadBookmarks
ReadBookmarks is not available in this implementation.
pkg/modules/qpdf/qpdf.go:315
Method
ReadBookmarks
ReadBookmarks reads bookmarks from a PDF file using the first available engine that supports bookmarks reading.
pkg/modules/pdfengines/multi.go:240
Method
ReadBookmarks
ReadBookmarks is not available in this implementation.
pkg/modules/libreoffice/pdfengine/pdfengine.go:104
Method
ReadMetadata
(ctx context.Context, logger *slog.Logger, inputPath string)
pkg/gotenberg/mocks.go:83
Method
ReadMetadata
ReadMetadata is not available in this implementation.
pkg/modules/pdfcpu/pdfcpu.go:261
Method
ReadMetadata
ReadMetadata is not available in this implementation.
pkg/modules/pdftk/pdftk.go:223
Method
ReadMetadata
ReadMetadata is not available in this implementation.
pkg/modules/qpdf/qpdf.go:259
Method
ReadMetadata
ReadMetadata extracts metadata from a PDF file using the first available engine that supports metadata reading.
pkg/modules/pdfengines/multi.go:207
Method
ReadMetadata
ReadMetadata is not available in this implementation.
pkg/modules/libreoffice/pdfengine/pdfengine.go:84
Method
ReadPdfAConformance
(ctx context.Context, logger *slog.Logger, inputPath string)
pkg/gotenberg/mocks.go:131
Method
ReadPdfAConformance
ReadPdfAConformance is not available in this implementation.
pkg/modules/pdfcpu/pdfcpu.go:491
Method
ReadPdfAConformance
ReadPdfAConformance is not available in this implementation.
pkg/modules/exiftool/exiftool.go:564
Method
ReadPdfAConformance
ReadPdfAConformance is not available in this implementation.
pkg/modules/pdftk/pdftk.go:540
Method
ReadPdfAConformance
ReadPdfAConformance reads the PDF/A part and conformance from the document-level XMP packet (pdfaid:part and pdfaid:conformance) using QPDF's JSON out
pkg/modules/qpdf/qpdf.go:805
Method
ReadPdfAConformance
ReadPdfAConformance reads the PDF/A part and conformance using the first available engine that supports it.
pkg/modules/pdfengines/multi.go:339
Method
ReadPdfAConformance
ReadPdfAConformance is not available in this implementation.
pkg/modules/libreoffice/pdfengine/pdfengine.go:144
Method
Ready
()
pkg/modules/api/api.go:172
Method
Ready
()
pkg/modules/api/mocks.go:134
Method
Ready
Ready returns no error if the module is ready.
pkg/modules/chromium/chromium.go:803
Method
Ready
Ready returns no error if the module is ready.
pkg/modules/libreoffice/api/api.go:626
Method
RecordMetrics
(ctx context.Context, md MetricData, opts map[string]MetricOpts)
pkg/gotenberg/semconv/client.go:284
Method
Rename
(oldpath, newpath string)
pkg/gotenberg/mocks.go:230
Method
Rename
Rename is a wrapper around [os.Rename].
pkg/gotenberg/fs.go:36
Method
Rename
Rename is just a wrapper around [os.Rename], as we need to mock this behavior in our tests.
pkg/modules/api/context.go:594
Method
ReqQueueSize
()
pkg/gotenberg/mocks.go:191
Method
ReqQueueSize
()
pkg/gotenberg/supervisor.go:620
Method
RestartsCount
()
pkg/gotenberg/mocks.go:195
Method
RestartsCount
()
pkg/gotenberg/supervisor.go:624
Method
Rotate
(ctx context.Context, logger *slog.Logger, inputPath string, angle int, pages string)
pkg/gotenberg/mocks.go:123
Method
Rotate
Rotate rotates pages of a PDF file by the given angle using pdfcpu.
pkg/modules/pdfcpu/pdfcpu.go:629
Method
Rotate
Rotate is not available in this implementation.
pkg/modules/exiftool/exiftool.go:540
Method
Rotate
Rotate rotates all pages of a PDF file by the given angle using PDFtk. Page-specific rotation is not supported; if pages is non-empty, ErrPdfEngineMet
pkg/modules/pdftk/pdftk.go:469
Method
Rotate
Rotate is not available in this implementation.
pkg/modules/qpdf/qpdf.go:1123
Method
Rotate
Rotate rotates pages of a PDF file using the first available engine that supports rotation.
pkg/modules/pdfengines/multi.go:306
Method
Rotate
Rotate is not available in this implementation.
pkg/modules/libreoffice/pdfengine/pdfengine.go:134
Method
Routes
Routes returns the HTTP route.
pkg/modules/prometheus/prometheus.go:181
Method
Routes
()
pkg/modules/api/mocks.go:111
Method
Routes
Routes returns the HTTP routes.
pkg/modules/pdfengines/pdfengines.go:328
Method
Routes
Routes returns the HTTP routes.
pkg/modules/chromium/chromium.go:837
Method
Routes
Routes returns the HTTP routes.
pkg/modules/libreoffice/libreoffice.go:72
Function
Run
Run starts the Gotenberg application. Call this in the main of your program.
cmd/gotenberg.go:38
Method
Run
(ctx context.Context, logger *slog.Logger, task func() error)
pkg/gotenberg/mocks.go:187
Method
Run
(ctx context.Context, logger *slog.Logger, task func() error)
pkg/gotenberg/supervisor.go:285
Method
Screenshot
(ctx context.Context, logger *slog.Logger, url, outputPath string, options ScreenshotOptions)
pkg/modules/chromium/mocks.go:20
Method
Screenshot
Screenshot captures a screenshot from a URL. nolint:dupl
pkg/modules/chromium/chromium.go:940
Method
ServeHTTP
ServeHTTP dispatches between CONNECT (HTTPS tunnels) and the absolute URL form (HTTP forward).
pkg/modules/libreoffice/api/proxy.go:108
Method
SetCancelled
SetCancelled sets if the context is canceled or not. ctx := &api.ContextMock{Context: &api.Context{}} ctx.SetCancelled(true)
pkg/modules/api/mocks.go:62
Method
SetDirPath
SetDirPath sets the context's working directory path. ctx := &api.ContextMock{Context: &api.Context{}} ctx.SetDirPath("/foo")
pkg/modules/api/mocks.go:23
Method
SetEchoContext
SetEchoContext sets the [echo.Context]. ctx := &api.ContextMock{Context: &api.Context{}} ctx.setEchoContext(c)
pkg/modules/api/mocks.go:86
Method
SetFiles
SetFiles sets the files. ctx := &api.ContextMock{Context: &api.Context{}} ctx.SetFiles(map[string]string{ "foo": "/foo", })
pkg/modules/api/mocks.go:54
Method
SetLogger
SetLogger sets the logger. ctx := &api.ContextMock{Context: &api.Context{}} ctx.SetLogger(slog.Default())
pkg/modules/api/mocks.go:78
Method
SetMkdirAll
SetMkdirAll sets the [gotenberg.MkdirAll]. ctx := &api.ContextMock{Context: &api.Context{}} ctx.SetMkdirAll(mkdirAll)
pkg/modules/api/mocks.go:94
Method
SetPathRename
SetPathRename sets the [gotenberg.PathRename]. ctx := &api.ContextMock{Context: &api.Context{}} ctx.setPathRename(rename)
pkg/modules/api/mocks.go:102
Method
SetValues
SetValues sets the values. ctx := &api.ContextMock{Context: &api.Context{}} ctx.SetValues(map[string][]string{ "url": { "foo", }, })
pkg/modules/api/mocks.go:44
Method
Shutdown
()
pkg/gotenberg/mocks.go:179
Method
Split
(ctx context.Context, logger *slog.Logger, mode SplitMode, inputPath, outputDirPath string)
pkg/gotenberg/mocks.go:71
Method
Split
Split splits a given PDF file.
pkg/modules/pdfcpu/pdfcpu.go:164
Method
Split
Split is not available in this implementation.
pkg/modules/exiftool/exiftool.go:258
Method
Split
Split splits a given PDF file.
pkg/modules/pdftk/pdftk.go:116
Method
Split
Split splits a given PDF file.
pkg/modules/qpdf/qpdf.go:124
Method
Split
Split divides the PDF into separate pages using the first available engine that supports PDF splitting.
pkg/modules/pdfengines/multi.go:172
Method
Split
Split is not available in this implementation.
pkg/modules/libreoffice/pdfengine/pdfengine.go:54
Method
Stamp
(ctx context.Context, logger *slog.Logger, inputPath string, stamp Stamp)
pkg/gotenberg/mocks.go:119
Method
Stamp
Stamp applies a stamp (on top of page content) to a PDF file using pdfcpu.
pkg/modules/pdfcpu/pdfcpu.go:610
Method
Stamp
Stamp is not available in this implementation.
pkg/modules/exiftool/exiftool.go:526
Method
Stamp
Stamp applies a stamp (on top of page content) to a PDF file using PDFtk. Only PDF source is supported. nolint:dupl
pkg/modules/pdftk/pdftk.go:420
Method
Stamp
Stamp is not available in this implementation.
pkg/modules/qpdf/qpdf.go:1109
Method
Stamp
Stamp binds the absolute path of the form data file that should be used as a stamp source. Only a file uploaded with the "stamp" field name will be in
pkg/modules/api/formdata.go:470
Method
Stamp
Stamp applies a stamp (on top of page content) to a PDF file using the first available engine that supports stamping.
pkg/modules/pdfengines/multi.go:295
Method
Stamp
Stamp is not available in this implementation.
pkg/modules/libreoffice/pdfengine/pdfengine.go:129
Method
Start
(logger *slog.Logger)
pkg/gotenberg/mocks.go:151
Method
Start
Start starts the collect.
pkg/modules/prometheus/prometheus.go:138
Method
Start
Start starts the HTTP server.
pkg/modules/api/api.go:451
Method
Start
Start binds the proxy to 127.0.0.1 on an ephemeral port and serves in a background goroutine. Bind failures return an error; the caller must not proce
pkg/modules/chromium/pinning_proxy.go:81
← previous
next →
601–700 of 1,037, ranked by callers