feat(botfilter): add compileConfig

This commit is contained in:
hoelee committed 2026-03-18 09:58:00 +08:00
1 parent a949a3ed4d
commit 789558bf28
1 file changed
+5
+5
View File
@@ -73,3 +73,8 @@ type compiledConfig struct {
clientIPHeader string
}
func compileConfig(input *Config) (*compiledConfig, error) {
if input == nil {
return nil, fmt.Errorf("botfilter: configuration is nil")
}