config

package
v0.1.5-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 25, 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"`
	UserPermissionStats bool   `mapstructure:"USER_PERMISSION_STATS"`
	Version             bool   `mapstructure:"VERSION"`
	Organization        string `mapstructure:"ORGANIZATION"`
	OtpSeed             string `mapstructure:"OTP_SEED"`
	OutputDir           string `mapstructure:"OUTPUT_DIR"`
	Password            string `mapstructure:"PASSWORD"`
	Port                int    `mapstructure:"PORT"`
	DisableServer       bool   `mapstructure:"DISABLE_SERVER"`
	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