configuration

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package configuration handles the tool configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BaseDownloadURL string
	LibrariesFolder string
	LogsFolder      string
	LibrariesDB     string
	LibrariesIndex  string
	GitClonesFolder string
	DoNotRunClamav  bool
	ArduinoLintPath string
}

Config is the type of the engine configuration.

func ReadConf

func ReadConf(flags *pflag.FlagSet) *Config

ReadConf reads the configuration file and returns the data.

Jump to

Keyboard shortcuts

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