mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-16 12:22:17 +01:00
minor refactoring of @tbflw work
This commit is contained in:
@@ -7,15 +7,13 @@ import (
|
||||
"github.com/mafredri/cdp/devtool"
|
||||
)
|
||||
|
||||
const (
|
||||
warmupTime = 10 * time.Second
|
||||
)
|
||||
const warmupTime = 10 * time.Second
|
||||
|
||||
type chrome struct {
|
||||
manager *processManager
|
||||
}
|
||||
|
||||
// NewChrome retruns a Google Chrome
|
||||
// NewChrome returns a Google Chrome
|
||||
// headless process.
|
||||
func NewChrome(debug bool) Process {
|
||||
return &chrome{
|
||||
|
||||
Reference in New Issue
Block a user