mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
clean up
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user