config

package
v0.0.0-...-75ce038 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfiguration

func LoadConfiguration()

LoadConfiguration loads configuration from environment variables.

Types

type AppConfig

type AppConfig struct {
	Debug       bool   `json:"debug"`
	Port        int    `json:"port"`
	MetricsPort int    `json:"metricsPort"`
	WebRoot     string `json:"webroot"`
	UseMemory   bool   `json:"useMemory"`
}

AppConfig structure for environment-based configurations.

var CFG AppConfig

Jump to

Keyboard shortcuts

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