config

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const BackupToolVersion = "0.3.0"

BackupToolVersion is the current version of the backup tool

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	OpenWebUIURL    string
	OpenWebUIAPIKey string
	PostgresURL     string
	ServerPort      int
	BackupsDir      string
}

Config holds the application configuration

func Load

func Load() *Config

Load loads configuration from environment variables

func (*Config) Update added in v0.6.0

func (c *Config) Update(url, apiKey *string)

Update updates the configuration with new values

Jump to

Keyboard shortcuts

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