diff --git a/pkg/modules/chromium/chromium.go b/pkg/modules/chromium/chromium.go index e5ad6f31..97d666fe 100644 --- a/pkg/modules/chromium/chromium.go +++ b/pkg/modules/chromium/chromium.go @@ -21,6 +21,7 @@ import ( "github.com/gotenberg/gotenberg/v7/pkg/modules/api" flag "github.com/spf13/pflag" "go.uber.org/zap" + "golang.org/x/sync/errgroup" ) func init() { @@ -75,10 +76,25 @@ type Chromium struct { disableRoutes bool } +// LinkTag represents an HTML element. +type LinkTag struct { + // Href is the "href" attribute of the HTML element. + // Required. + Href string `json:"href"` +} + +// ScriptTag represents an HTML