Documentation
¶
Overview ¶
Package config loads and saves AgentRoute's own application configuration (internal/config/config.go), distinct from any third-party tool's config that a platform adapter may edit.
Index ¶
Constants ¶
View Source
const DefaultPort = 4505
DefaultPort is the gateway's default listen port. If already in use, the gateway picks the next free port automatically (see gateway.PickPort).
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ActiveProfile is the name of the profile to use when none is
// specified via --profile. Stored as "" until the user activates one.
ActiveProfile string `toml:"active_profile"`
Port int `toml:"port"`
ReduceMotion bool `toml:"reduce_motion"`
}
Config is AgentRoute's own persisted application configuration.
Click to show internal directories.
Click to hide internal directories.