Versions in this module Expand all Collapse all v4 v4.3.1 Mar 19, 2019 v4.3.0 Mar 15, 2019 Changes in this version + var A3 = [2]float64 + var A4 = [2]float64 + var A5 = [2]float64 + var A6 = [2]float64 + var LargeMargins = [4]float64 + var Legal = [2]float64 + var Letter = [2]float64 + var NoMargins = [4]float64 + var NormalMargins = [4]float64 + var Tabloid = [2]float64 + type ChromeRequest interface + SetFooter func(fpath string) error + SetHeader func(fpath string) error + SetLandscape func(isLandscape bool) + SetMargins func(margins [4]float64) + SetPaperSize func(size [2]float64) + SetWebFontsTimeout func(timeout int64) + type Client struct + Hostname string + func (c *Client) Post(req Request) (*http.Response, error) + func (c *Client) Store(req Request, dest string) error + type HTMLRequest struct + func NewHTMLRequest(indexFilePath string) (*HTMLRequest, error) + func (html *HTMLRequest) SetAssets(fpaths ...string) error + func (html *HTMLRequest) SetFooter(fpath string) error + func (html *HTMLRequest) SetHeader(fpath string) error + func (html *HTMLRequest) SetLandscape(isLandscape bool) + func (html *HTMLRequest) SetMargins(margins [4]float64) + func (html *HTMLRequest) SetPaperSize(size [2]float64) + func (html *HTMLRequest) SetWebFontsTimeout(timeout int64) + func (html *HTMLRequest) SetWebhookURL(webhookURL string) + type MarkdownRequest struct + func NewMarkdownRequest(indexFilePath string, markdownFilePaths ...string) (*MarkdownRequest, error) + func (markdown *MarkdownRequest) SetAssets(fpaths ...string) error + func (markdown *MarkdownRequest) SetFooter(fpath string) error + func (markdown *MarkdownRequest) SetHeader(fpath string) error + func (markdown *MarkdownRequest) SetLandscape(isLandscape bool) + func (markdown *MarkdownRequest) SetMargins(margins [4]float64) + func (markdown *MarkdownRequest) SetPaperSize(size [2]float64) + func (markdown *MarkdownRequest) SetWebFontsTimeout(timeout int64) + func (markdown *MarkdownRequest) SetWebhookURL(webhookURL string) + type MergeRequest struct + func NewMergeRequest(fpaths ...string) (*MergeRequest, error) + func (merge *MergeRequest) SetWebhookURL(webhookURL string) + type OfficeRequest struct + func NewOfficeRequest(fpaths ...string) (*OfficeRequest, error) + func (office *OfficeRequest) SetLandscape(isLandscape bool) + func (office *OfficeRequest) SetWebhookURL(webhookURL string) + type Request interface + SetWebhookURL func(webhookURL string) + type URLRequest struct + func NewURLRequest(url string) *URLRequest + func (url *URLRequest) SetFooter(fpath string) error + func (url *URLRequest) SetHeader(fpath string) error + func (url *URLRequest) SetLandscape(isLandscape bool) + func (url *URLRequest) SetMargins(margins [4]float64) + func (url *URLRequest) SetPaperSize(size [2]float64) + func (url *URLRequest) SetWebFontsTimeout(timeout int64) + func (url *URLRequest) SetWebhookURL(webhookURL string) + type UnoconvRequest interface + SetLandscape func(landscape bool) Other modules containing this package github.com/thecodingmachine/gotenberg-go-client/v5 github.com/thecodingmachine/gotenberg-go-client/v6 github.com/thecodingmachine/gotenberg-go-client/v7