config

package
v0.1.3-pre-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigFileBasename = "github-analyzer"

	ViperEnvPrefix = "GH_SECURITY_AUDITOR"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ViperEnvVars

type ViperEnvVars struct {
	CfgFile        string `mapstructure:"CFG_FILE"`
	EnableScraping bool   `mapstructure:"ENABLE_SCRAPING"`
	EnableStats    bool   `mapstructure:"ENABLE_STATS"`
	Organization   string `mapstructure:"ORGANIZATION"`
	OtpSeed        string `mapstructure:"OTP_SEED"`
	OutputDir      string `mapstructure:"OUTPUT_DIR"`
	Password       string `mapstructure:"PASSWORD"`
	Port           int    `mapstructure:"PORT"`
	ScmURL         string `mapstructure:"SCM_URL"`
	Token          string `mapstructure:"TOKEN"`
	Username       string `mapstructure:"USERNAME"`
}
var ViperEnv ViperEnvVars

Jump to

Keyboard shortcuts

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