config

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigSecure

func LoadConfigSecure(path, allowedDir string) (*latest.Config, error)

LoadConfigSecure loads the configuration from a file with path validation

func ValidatePathInDirectory

func ValidatePathInDirectory(path, allowedDir string) (string, error)

Types

type RuntimeConfig added in v1.0.5

type RuntimeConfig struct {
	EnvFiles       []string
	ModelsGateway  string
	RedirectURI    string
	GlobalCodeMode bool
	WorkingDir     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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