Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrHostnameLookup means hostname lookup error. ErrHostnameLookup = errors.New("base: hostname lookup error") )
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct {
Identifier string `env:"IDENTIFIER"`
Cores int `env:"CORES"`
Threads int `env:"THREADS"`
Scans *scan.Cfg
Secrets *secret.Cfg
Acts *act.Cfg
Database *db.Cfg
Log *logger.Cfg
// contains filtered or unexported fields
}
Cfg represents base cfg. It also references secondary cfgs such as secrets, actions, etc.
Click to show internal directories.
Click to hide internal directories.