config

package
v0.0.0-...-b1e8dd2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: LGPL-2.1 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	OpenAIKey string
	Tracer    trace.Tracer
}

AppConfig holds the application's configurations.

func LoadConfig

func LoadConfig() *AppConfig

LoadConfig reads configuration from environment variables or a .env file.

Jump to

Keyboard shortcuts

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