Help us shape the future of Go! Take the 2026 Go Developer Survey

downstreamapp

package
v0.57.21 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RunEnv        = "RUN_DOWNSTREAM_APP_E2E"
	CompilerEnv   = "BLDR_DOWNSTREAM_APP_COMPILER"
	WorkerModeEnv = "BLDR_DOWNSTREAM_APP_WORKER_MODE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserCompiler

type BrowserCompiler string
const (
	BrowserCompilerGo       BrowserCompiler = "go"
	BrowserCompilerGoScript BrowserCompiler = "goscript"
)

func ResolveBrowserCompiler

func ResolveBrowserCompiler() (BrowserCompiler, error)

type Harness

type Harness struct {
	// contains filtered or unexported fields
}

func Boot

func Boot(ctx context.Context, le *logrus.Entry) (*Harness, error)

func (*Harness) BaseURL

func (h *Harness) BaseURL() string

func (*Harness) BootTime

func (h *Harness) BootTime() time.Duration

func (*Harness) LaunchBrowser

func (h *Harness) LaunchBrowser() error

func (*Harness) NewPage

func (*Harness) Release

func (h *Harness) Release()

type WorkerMode

type WorkerMode string
const (
	WorkerModeDedicated WorkerMode = "dedicated"
	WorkerModeShared    WorkerMode = "shared"
)

func ResolveWorkerMode

func ResolveWorkerMode() (WorkerMode, error)

Jump to

Keyboard shortcuts

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