feat: Add config file validation (#2011)

This commit is contained in:
Jan-Otto Kröpke
2025-04-24 23:45:21 +02:00
committed by GitHub
parent 554607fee2
commit 769363d157
25 changed files with 107 additions and 66 deletions

View File

@@ -39,9 +39,9 @@ import (
const Name = "process"
type Config struct {
ProcessInclude *regexp.Regexp `yaml:"process_include"`
ProcessExclude *regexp.Regexp `yaml:"process_exclude"`
EnableWorkerProcess bool `yaml:"enable_iis_worker_process"` //nolint:tagliatelle
ProcessInclude *regexp.Regexp `yaml:"include"`
ProcessExclude *regexp.Regexp `yaml:"exclude"`
EnableWorkerProcess bool `yaml:"iis"`
}
//nolint:gochecknoglobals