config

package
v0.0.0-...-f03aceb Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Env             string
	DSN             string
	RemoteWorkDir   string
	LogLevel        string
	LocalTempDir    string
	ScannerImage    string
	ReporterBinPath string
	Logging         *logger.Config
	ScanTimeout     time.Duration
}

AppConfig is the struct for the application configuration

func Load

func Load() *Config

Load loads the environment variables from the .env file

Jump to

Keyboard shortcuts

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