Documentation ¶
Index ¶
- Constants
- Variables
- func Capitalize(msg string) string
- func ConvertPNG(input io.Reader, output io.Writer, imageType ImageType, width int, height int) error
- func ForkExec(path string, args []string) error
- func GetArchIdentifier(goArch string) string
- func HandleNoSupportedBrowserFound(appName, hydrappBrowserEnv, knownBinaries string, err error) error
- func HandlePanic(appName, msg string, err error)
- func Localhostize(url string) string
- func PolyfillEnvironment(userHomeDir string) error
- func WaitForLock(path string, handlePanic func(msg string, err error))
- func WriteRenders(workdir string, renders []renderers.Renderer, overwrite, ejecting bool) error
- type ImageType
Constants ¶
View Source
const ( EnvBackendLaddr = "HYDRAPP_BACKEND_LADDR" EnvFrontendLaddr = "HYDRAPP_FRONTEND_LADDR" EnvBrowser = "HYDRAPP_BROWSER" EnvType = "HYDRAPP_TYPE" EnvSelfupdate = "HYDRAPP_SELFUPDATE" )
Variables ¶
View Source
var (
ErrNoBrowserOpenMethodFound = errors.New("no method to open a browser found")
)
View Source
var ErrUnknownImageType = errors.New("unknown image type")
Functions ¶
func Capitalize ¶
func ConvertPNG ¶
func GetArchIdentifier ¶
func HandlePanic ¶
func Localhostize ¶
func PolyfillEnvironment ¶
func WaitForLock ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.