adds configurable debugging of startup of processes and print out some info from the chrome viable() function for debugging purposes

This commit is contained in:
Thomas Bøgh Fangel
2019-06-13 15:59:06 +02:00
parent cfea2b8d9d
commit bbd0a893b1
7 changed files with 83 additions and 35 deletions

View File

@@ -1,8 +1,6 @@
package api
import (
"github.com/labstack/echo/v4"
)
import "github.com/labstack/echo/v4"
const pingEndpoint = "/ping"
@@ -14,6 +12,7 @@ type Options struct {
EnableChromeEndpoints bool
EnableUnoconvEndpoints bool
EnableHealthcheckLogging bool
DebugProcessStartup bool
}
// DefaultOptions returns default options.