Documentation
¶
Overview ¶
Package gotenberg provides a client for the Gotenberg service. It offers a convenient API for document conversion using various engines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Gotenberg HTTP client that wraps the base HTTP client with Gotenberg-specific functionality for document conversion.
func NewClient ¶
NewClient creates a new Gotenberg client with the given HTTP client and base URL. Returns an error if the base URL is invalid.
func (*Client) LibreOffice ¶ added in v1.7.1
func (c *Client) LibreOffice() *libreoffice.LibreOffice
func (*Client) PDFEngines ¶ added in v1.7.1
func (c *Client) PDFEngines() *pdfengines.PDFEngines
type DownloadItem ¶ added in v1.8.0
type DownloadItem = gotenberg.DownloadFrom
Re-export common types for easier access.
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
cmd/chromium/converturl
command
|
|
|
cmd/chromium/helloworld
command
|
|
|
cmd/chromium/markdown
command
|
|
|
cmd/chromium/timeout
command
|
|
|
cmd/chromium/trace
command
|
|
|
cmd/chromium/webhook
command
|
|
|
cmd/libreoffice/convert
command
|
|
|
cmd/pdfengines/merge
command
|
|
|
internal
|
|
|
chromium
Package chromium provides a client for the Gotenberg Chromium service.
|
Package chromium provides a client for the Gotenberg Chromium service. |
|
gotenberg
Package common provides shared types and constants for Gotenberg client modules.
|
Package common provides shared types and constants for Gotenberg client modules. |
|
libreoffice
Package libreoffice provides a client for the Gotenberg LibreOffice service.
|
Package libreoffice provides a client for the Gotenberg LibreOffice service. |
|
pdfengines
Package pdfengines provides a client for the Gotenberg PDF Engines service.
|
Package pdfengines provides a client for the Gotenberg PDF Engines service. |
Click to show internal directories.
Click to hide internal directories.