config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserConfig

type BrowserConfig struct {
	Args                          string `` /* 407-byte string literal not displayed */
	HeaderAccept                  string `` /* 163-byte string literal not displayed */
	HeaderAcceptEncoding          string `env:"HEADER_ACCEPT_ENCODING,default=gzip, deflate, br"`
	HeaderAcceptLanguage          string `env:"HEADER_ACCEPT_LANGUAGE,default=en-US,en;q=0.9"`
	HeaderConnection              string `env:"HEADER_CONNECTION,default=keep-alive"`
	HeaderDnt                     string `env:"HEADER_DNT,default=1"`
	HeaderUpgradeInsecureRequests string `env:"HEADER_UPGRADE_INSECURE_REQUESTS,default=1"`
	ScreenshotsDir                string `env:"SCREENSHOTS_DIR,default=/tmp/screenshots"`
	UserAgent                     string `` /* 126-byte string literal not displayed */
	ViewportHeight                string `env:"VIEWPORT_HEIGHT,default=1080"`
	ViewportWidth                 string `env:"VIEWPORT_WIDTH,default=1920"`
}

BrowserConfig represents the browser configuration

type Config

type Config struct {
	// Core application settings
	Environment string `env:"ENVIRONMENT"`

	// A2A configuration (all A2A_ prefixed vars)
	A2A serverConfig.Config `env:",prefix=A2A_"`

	// Custom configuration sections
	Browser BrowserConfig `env:",prefix=BROWSER_"`
}

Config represents the application configuration

Jump to

Keyboard shortcuts

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