Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrGotenbergTimeout errs.Sentinel = "Gotenberg timeout"
)
Variables ¶
This section is empty.
Functions ¶
func RenderHTML ¶
func RenderHTML(ctx context.Context, args *RenderHTMLArgs) (pdf []byte, err error)
func ToBase64Encoding ¶
ToBase64Encoding encodes the file in base64 ready to be used in HTML tags.
Types ¶
type ErrGotenbergInternal ¶
type ErrGotenbergInternal string
func (ErrGotenbergInternal) Error ¶
func (err ErrGotenbergInternal) Error() string
Click to show internal directories.
Click to hide internal directories.