utils

package
v0.0.0-...-864e703 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 14

Documentation

Index

Constants

View Source
const (
	EnvBackendLaddr  = "HYDRAPP_BACKEND_LADDR"
	EnvFrontendLaddr = "HYDRAPP_FRONTEND_LADDR"
	EnvBrowser       = "HYDRAPP_BROWSER"
	EnvType          = "HYDRAPP_TYPE"
	EnvSelfupdate    = "HYDRAPP_SELFUPDATE"
)

Variables

This section is empty.

Functions

func Capitalize

func Capitalize(msg string) string

func ForkExec

func ForkExec(path string, args []string) error

func HandlePanic

func HandlePanic(appName, msg string, err error)

func Localhostize

func Localhostize(url string) string

func PolyfillEnvironment

func PolyfillEnvironment(userHomeDir string) error

func WaitForLock

func WaitForLock(path string, handlePanic func(msg string, err error))

func WriteRenders

func WriteRenders(workdir string, renders []*renderers.Renderer, overwrite, ejecting bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL