This commit is contained in:
Max Lerebourg
2022-09-28 18:19:13 +02:00
parent 1d4dbe1cd5
commit 279c496fb3
-2
View File
@@ -1,4 +1,3 @@
// Package plugindemo a demo plugin.
package crowdsec_bouncer_traefik_plugin package crowdsec_bouncer_traefik_plugin
import ( import (
@@ -27,7 +26,6 @@ const (
cacheNoBannedValue = "f" cacheNoBannedValue = "f"
) )
// var ipRegex = regexp.MustCompile(`\b\d+\.\d+\.\d+\.\d+\b`)
var cache = ttl_map.New() var cache = ttl_map.New()
type Config struct { type Config struct {