config

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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